Organization, identification, and interpretation of sensory information in order to represent and understand the environment in the brain.