To explain in depth, it'll take some time!!
In normal ways, its an automatic/manual controlling system of signals n switches which helps to speed up, control the train traffic in a certain section without any delay or collision!!
More help about signalling system can be found here...:-
click here