Having and CSF study

Hello everybody. I have been having neurological problems and brain fog since 2007. I have been to many doctors, had lots of tests and finally I’m going to have a CSF study. Please tell me what this involves.