Roofs, attics, and godowns are the preferred and safe refuge for rodents and snakes.
They do so because rainwater has flooded their holes.
Final answer:
Hence, the snakes and rodents take shelter in the roofs, attics, and godowns because their holes get flooded due to rainwater.