Spinal stenosis is the narrowing of the spinal canal and foramina, which are the openings that nerves pass through.