A diesel generator is a combination of a diesel engine and an electrical generator that converts mechanical energy from diesel fuel into electrical energy.
Introduction to diesel generator types: industrial, commercial, residential, silent, container and portable.