Heat is produced by matter. Matter is made up of atoms and molecules and energy causes the atoms and molecules to always be in motion. Nonrenewable energy sources such as fossil fuel oil , and coal , When coal, oil, and natural gas are burned in a power plant, which then turns the turbine in a generator, and produces electricity.