Yes same like EMD I think which produces mechanical power through diesel combustion system and this power used to rotate alternator which inturn produces electrical power which is fed to Electric motors where the output of motors is again mechanical one which is nothing but torque which moves train.