This document summarizes a paper that explores using vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communication through vehicular ad-hoc networks (VANETs) to intelligently control traffic flow and enhance safety. The system would use sensors in vehicles and at intersections to detect vehicle and pedestrian positions in real-time. This information would be shared through VANET to dynamically schedule traffic lights based on current traffic conditions, warn drivers of obstacles or pedestrians, and efficiently schedule emergency vehicles. The goal is to create a smarter traffic system that improves traffic flow while enhancing safety for both drivers and pedestrians.