Magnetic energy stored in the B-field of the coil.
Electric current flowing through the coil. The larger the current, the more magnetic energy is stored in the B-field.
Inductance (here self-inductance) is a characteristic quantity of a coil and indicates how good the coil can form a magnetic field when a current flows through it. The larger the inductance of the coil, the larger the stored energy in the magnetic field.