Dual mode Locomotive- The future of Railways

Almost everyone traveled by train and in few countries like India, it is the lifeline of long distance travel. You must saw that locomotive of the train is either diesel or electric. But do you know, one more type of locomotive is there which have both diesel and electric engine in it.