The cerebellum is located behind the brain stem and is divided into three lobes - anterior, posterior, and flocculonodular. It receives input from the spinal cord, vestibular system, and cerebral cortex. The cerebellar cortex consists of molecular, purkinje, and granular layers. Purkinje cells are the sole output, projecting to deep cerebellar nuclei which connect to motor and premotor areas. The cerebellum is involved in coordination, precision of movement, and maintaining balance and posture.