Yes. One particularly serious infection that you could contract from rooting around in the dirt without gloves is toxoplasmosis. For non-immunocompromised individuals, the symptoms are usually mild and non-life threatening, but it can be dangerous for pregnant women and those with weakened immune systems. Wearing gardening gloves can help shield you from undesirable bacteria, fungi, and parasites that lurk in the ground.