Cerebrospinal fluid (CSF) analysis may be used to help diagnose a wide variety of diseases and conditions affecting the brain and spinal cord (central nervous system).