The frontal lobes are the largest structures in the brain. They are the main site of the higher cognitive functions such as planning, organising and problem solving. It also controls the ability to project future consequences, the choice between good and bad actions (or better and best), the override and suppression of socially unacceptable responses, and the determination of similarities and differences between things or events. The frontal lobe is responsible for emotional regulation and personality.
The frontal lobes are also home to substructures which are involved in attention, voluntary movement and language.