Diesel locomotives run on diesel, which either powers the locomotive directly or through an electric generator.