The intervertebral discs, which are between vertebrae, are the parts that prevent the vertebrae from grinding against one another.
The intervertebrals discs act as a cushion; they absorb the stress and shockw that occur during movement, preventing such grinding.