In case of inductor, energy is stored in the:

Potential field

Gravitational field.

Magnetic field

Electric field