Plumbing originated during ancient civilizations such as the Greek , Roman , Persian , Indian , and Chinese cities as they developed public baths and needed to provide potable water and drainage of wastes , for larger numbers of people .
However , there were some plumbing pipes in the city settlements of the Indus Valley Civilization by 2700 B.C. Plumbing was also used during the ancient civilizations such as the Greek , Roman , Persian , Indian , and Chinese civilizations as they built public baths and needed drinking water , and somewhere to drain waste .