Squirrels sometimes engage in a behavior called dust bathing or sand bathing, where they roll in the dirt. This action helps them to rid their fur of parasites, such as mites and ticks. The fine particles of dirt can suffocate or dislodge these pests. Also, rolling in the dirt can also help mask their scent, making it harder for predators to track them.