Do all snakes spit to defind themselves?

Not all snakes spit to define themselves. Spitting is a defense mechanism that is only found in a few species of snakes, such as the spitting cobra and the rinkhals. These snakes have specialized venom glands that allow them to project a stream of venom at a target. The venom is not strong enough to cause serious injury, but it can cause temporary blindness and irritation to the skin. Spitting is a rare defense mechanism that is only used when a snake feels threatened. Most snakes will only bite when they are cornered or feel that their life is in danger.