A smart city in IoT integrates smart water grids to enhance water distribution and reduce wastage. IoT sensors collect data on water pressure, flow rates, and quality, ensuring efficient supply to households and industries. Automated valve controls adjust distribution based on demand, preventing shortages. Leak detection systems powered by IoT minimize losses and prevent infrastructure damage. Real-time analytics help city authorities make data-driven decisions for water conservation. AI-powered predictive maintenance prevents costly pipeline failures. IoT-driven solutions ensure a stable and sustainable water supply for urban populations.