What is cerebrospinal fluid? What is its function?

What is cerebrospinal fluid? What is its function?
Answer:
Cerebrospinal fluid is the fluid found in the cavities of brain, central canal of spinal cord and in between arachnoid and pia mater.
Function: It prevents the brain from mechanical shocks.