The main difference between the capacitor and inductor is that capacitor opposes the change in voltage, while an inductor opposes the change in current. Furthermore, inductor stores energy in the form of a magnetic field and capacitor stores energy in the form of an electric field.