An electric motor in a toy train transfers energy usefully to a kinetic store, but some energy is wasted. State what happens to this wasted energy.