Is the tap water safe to drink in Tanzania?

Same as Africa is a huge continent, Tanzania is a large country and water safety is different depending on the area.