Snakes may find a hospitable habitat in either a traditional or a naturally landscaped yard if prey species, water sources, sunny areas for basking, and shelter are present. Snakes may find shelter under outbuildings, in rock walls, or in log piles; they are valuable neighbors because they eat true pests, such as mice, harmful insects, and slugs