The correct option is D thermal energy
When a current flows through a resistor, electrical energy is converted into heat or thermal energy. The heat generated in the components of a circuit, all of which possess at least some resistance, is dissipated into the air around the components.