A memristor, or memory resistor, is described as one of the basic elements (resistor, capacitor, inductor) of electronic circuits, because it can’t be replaced by any combination of these elements. This element can change its resistivity according to the voltage, but even after disconnection it remembers resistivity for unlimited time. It can work like analog memory or a resistive switch, which can have an infinite number of states.