There are many benefits to keeping dogs on the farm: the amount of free time they have to be active and engaged in activities. Dogs can help with chores around the farm, such as weeding and harvesting crops, and provide companionship for farmworkers. They can also be used to keep pests away from crops. Dogs can use their sense of smell to detect where pests are hiding and will bark at them before attacking by biting or scratching. Dogs may also pick up parasites from rodents that live on farms and transmit them to livestock when they lick them.