How a diesel generator works Diesel generators are commonly used in various industries, including hospitals, data centers, and manufacturing plants, to provide backup power in emergencies or when the main power source fails. These generators are powered by a diesel engine.