The inductor is a device that stores electrical energy as magnetic energy. The inductor does not allow AC current to flow through it, but it does allow DC current.