A device that changes electrical energy from one form to another, as from alternating current to direct current.