Automatic train protection (ATP) is a safety system designed to prevent trains from exceeding safe speeds and to ensure compliance with signaling systems. ATP systems monitor train speed and position, intervening when necessary to slow down or stop the train to avoid accidents, particularly in situations like signal overruns or track obstructions. This technology is crucial for enhancing safety in rail operations, reducing the risk of human error, and improving overall train control.