If there is no current in the inductor, it prevents the current from flowing through it; if the current flows through it, it will attempt to maintain the current when the circuit is disconnected.
Inductor has a certain inductance, it only prevents the current changes
The inductor is similar in structure to the transformer but has only one winding.
An inductor is a device that converts electrical energy into magnetic energy