IoT enhances smart cities by optimizing traffic management, waste collection, energy use, and environmental monitoring, improving urban living.