A memristor is a two-terminal electronic device whose resistance depends on the history of the current that has previously flowed through it. This unique property makes it a fundamental component in the realm of nanotechnology. It was first theorized by Leon Chua in 1971 and later realized in physical form by researchers at HP Labs in 2008.