Aqueducts

The Aztecs had a solution when a massive rat infestation and plague, known as the Black Death, killed millions of people. The Aztecs realized they needed a constant supply of fresh water in the 1300s. That’s where they put hygiene as their priority, and called it the Great Aqueduct. This uninterrupted water supply brought an endless supply of fresh water to Tenochtitlan, which allowed waste to be washed away with the stream.
According to Blurred by Lines, “Carrying water from the Chapultepec springs, this aqueduct was a major architectural achievement because of its twin-pipe water distribution system. With two pipes transporting water, the Aztecs could simply divert water from one pipe to the other, should one become dirty or damaged.” Parts of the design can still be found in Mexico City, and because of its structure, it had easy cleaning and maintenance (Blurred by Lines).