Official currency: Canadian Dollar (CAD).
Many tourist-area businesses (hotels, attractions, duty-free shops) accept USD, but often at unfavorable exchange rates. Change may be given in CAD. For better value, exchange USD to CAD at banks, ATMs, or currency exchanges.
Official currency: US Dollar (USD).
All businesses accept USD freely. No exchange needed.
Bottom line: USD works everywhere on the US side; on the Canadian side, it's accepted in tourist zones but CAD is smarter.