See this article. A few excerpts:

“A new picture is taking shape in which conscious experience is seen as deeply grounded in how brains and bodies work together to maintain physiological integrity – to stay alive.”

“The brain is locked inside a bony skull. All it receives are ambiguous and noisy sensory signals that are only indirectly related to objects in the world. Perception must therefore be a process of inference, in which indeterminate sensory signals are combined with prior expectations or ‘beliefs’ about the way the world is, to form the brain’s optimal hypotheses of the causes of these sensory signals.”

“A number of experiments are now indicating that consciousness depends more on perceptual predictions, than on prediction errors. […] We’ve found that people consciously see what they expect, rather than what violates their expectations.”