The main purpose of this legislation, known as the SAFE TRACKS Act, is to enhance safety at highway-rail grade crossings. It aims to ensure that states regularly report on their efforts to improve safety measures and reduce accidents at these crossings, which can be dangerous for both vehicles and pedestrians. Key provisions of the SAFE TRACKS Act include a requirement for states to provide periodic reports on their safety strategies at highway-rail crossings.