Herpetology is a branch of zoology that specifically focuses on the study of amphibians and reptiles, which includes snakes.