The brain is a complex system, but that doesn't mean it's incomprehensible. Our neural circuits were carved by natural selection to solve problems that our ancestors faced during our species' evolutionary history. Your brain has been molded by evolutionary pressures just as your spleen and eyes have been. And so has your consciousness. Consciousness developed because it was advantageous, but advantageous only in limited amounts.
Incognito: The Secret Lives of The Brain