The brain is constantly receiving and processing information from the environment. This process is known as cognitive function. The cognitive function allows us to understand and interact with the world. The three main cognitive functions of the brain are perception, attention, and memory.