A railway signal or just signal is a mechanical or electrical machine that gives train drivers or engineers information about the line ahead. These traffic signals say whether the train must stop or may continue and what speed the train may go.