The neurophysiological processing of stimuli from the environment. Includes all senses: hearing, vision, taste, smell, etc.