Most locomotive engineers drive diesel-electric engines, although some drive locomotives powered by battery or electricity. Engineers must be aware of the goods their train is carrying because different types of freight require different types of driving, based on the conditions of the rails.