The brain operates as a prediction machine: it constantly makes predictions about the causes of sensory signals and updates these predictions based on sensory input; all conscious experience (perception of world, self, free will, emotion) is a form of controlled hallucination grounded in prediction and physiological regulation of the body.