Snakes do have bones. Snakes are part of the vertebrate family like most land animals. Snakes have many more bones than humans, and the unique design of their skeleton gives them their shape and flexibility.
Snakes have up to 400 vertebrae with just as many ribs, which protect their sensitive organs and give them their incredible flexibility to navigate the roughest and tightest terrain to hunt for prey. Since snakes sometimes eat large rodents, eggs and other snakes, their skeletons are designed to expand generously to accommodate these large items, allowing them to go days or weeks without eating again.