A spinal tap, or lumbar puncture, is a medical procedure used to collect cerebrospinal fluid for diagnostic testing or to relieve pressure in the spinal canal. It is crucial for diagnosing conditions like meningitis, multiple sclerosis, and certain cancers affecting the central nervous system.