In physics, persistent current is a perpetual electric current that does not require an external power source. Such a current is impossible in normal electrical devices, since all commonly-used conductors have a non-zero resistance, and this resistance would rapidly dissipate any such current as heat. However, in superconductors and some mesoscopic devices, persistent currents are possible and observed due to quantum effects. In resistive materials, persistent currents can appear in microscopic samples due to size effects. Persistent currents are widely used in the form of superconducting magnets.