CSF is composed primarily of water, but it also contains small amounts of proteins, glucose, ions (such as sodium, potassium, and chloride), and cells (mainly lymphocytes). The composition of CSF is tightly regulated to maintain the optimal environment for neuronal function.