The topic of this article is consciousness and, in it, I will theorize what consciousness is like and where it arises from. The work began to emerge and develop over time starting from my belief that consciousness is a physical self-referential phenomenon; thus, my attention was focused on the research for a self-referential process. I was confident that I could satisfy my curiosity through the reductionist method adopted by science. Unfortunately, neuroscientists and philosophers of mind realized that the attempts to explain consciousness with this method have all proved inconclusive. For this reason, they are now trying to address the problem of consciousness with non reductionist methods. As for me, I have always remained faithful to reductionism, but with the conviction that quantum mechanics, even though capable of making predictions with an extraordinary degree of accuracy, is a theory founded on wrong concepts. Thus, surprisingly, I have found a solution to the mystery of consciousness, perceiving a way to explain what it is like at its fundamental level in the field of quantum mechanics and, particularly, in one of its counterintuitive and generally less debated aspects among physicists today, but which aroused great interest in me: I am referring to the spin of the electron that will be described in this paper as a self-interacting process. This paper will also offer a rational explanation of the results obtainable in all experiments for measuring the spin of electrons through Stern-Gerlach magnets. In addition, my theory of consciousness is susceptible to experimental control. Keywords: consciousness connected to the electron spin, consciousness and quantum mechanics, physical self-interacting systems, elementary quanta of consciousness, what is consciousness like, pan-experientialism, the only way to solve the mystery of consciousness.