A track circuit is a track clear detection device consisting of an electrical circuit fed through the running rails of a section of track. Each section is electrically isolated from others. This relay can detect if no train is present and can be used to switch power to a green signal light.