In most tourist places (hotels, lodges) around northern Tanzania you can pay in US Dollars or Euro (and even in some other foreign currency). On other parts of the country and local business, you most likely will have to pay with local money (Tanzanian Shilling-TZS).