Yes its a pesticide, I use flea carpet spray in the house and Front Line on the cat and dogs. Havent had fleas in a long time thank god.

You can also get flea collars and put them around the bedroom snakes are in to keep them away.