Most philosophers and scientists today firmly believe that a little controller sitting somewhere in your head directing conscious activities does not exist, as René Descartes purported in the 17th century. Consciousness somehow arises from, as is quoted here, “highly organized brain chemistry”. This is somewhat understated, however, because your consciousness certainly is the result of a “highly organized” system, but there’s more than just chemistry.
A few major players in consciousness thinking are quoted. Their ideas for the origins of consciousness cover the gamut from “mundane” mechanisms or it’s a fundamental property of the Universe, like gravity, to the idea that consciousness is only an illusion.
Consider each carefully. You must keep in mind that your brain is a very complex system and no one yet knows the power of billions of interconnected neurons.