an electric locomotive runs on electricity as the name suggests. electric locomotives cost the least to buy and operate. however, the railway electrification system is very expensive, so only tracks used by many trains per day are usually electrified. thus, electrics are only the second next used type, behind diesel locomotives.