An engine, or motor, is a machine used to change energy into movement that can be used. The energy can be in any form. Common forms of energy used in engines are electricity, chemical (such as petrol or diesel) or heat. When a chemical is used to produce energy it is known as fuel.