Electric trains generally draw power from AC overhead lines. Some DC lines do exist, but they are getting replaced by AC lines. Motors used (traction motors) are generally DC motors. But nowadays they are being phased out in favour of AC motors as AC motors require less maintenance as compared to DC motors.