Cerebrospinal fluid is formed primarily by the choroid plexuses in the ventricles through active transport of sodium ions, which pulls in water and other ions through osmosis. It circulates from the ventricles through the brain and spinal cord, bathing the central nervous system. CSF is absorbed into the venous blood through arachnoid villi in the dural sinuses. The blood-brain and blood-CSF barriers protect the brain by restricting the passage of large molecules from blood to CSF and brain tissue. CSF acts as a cushion and regulates pressure while draining metabolites and providing limited nutrients to the brain. Hydrocephalus is an excess accumulation of CSF due to blocked flow or absorption.