In addition to its charge, every electron has a second property: spin. You can think of it as a direction of rotation. This is a simplified picture, but it is close enough: an electron has an orientation, and this orientation can be influenced.
Conventional electronics only use the charge. They detect whether or not a current is flowing. Spin remained unused for a long time.
In 2007, the Nobel Prize in Physics was awarded for the discovery that spin can be harnessed in a targeted way. This gave rise to its own field of research. Today, it is used in hard drives, sensors, and modern control technology.