An inductor is an electrical device used in electrical circuits because it acts like inertia in the electrical circuit. Just like inertia opposes the change in state of motion, inductor opposes the change in electric current.