If there are signals around, they can help tell you if a train is coming. Most signals are “approach lit”, meaning they are dark when there are no trains around, and light up when a train is nearby. This is done to save power, as some signals are battery powered.