In an electrical or electronic circuit, part of the energy in play is dissipated by unwanted effects, including energy lost by unwanted heating of resistive components (electricity is also used for the intention of heating, which is not a loss), the effect of parasitic elements (resistance, capacitance, and inductance), skin effect, losses in the windings and cores of transformers due to resistive heating and magnetic losses caused by eddy currents, hysteresis, unwanted radiation, dielectric loss, corona discharge, and other effects.