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.