INFO:
The hygiene hypothesis, proposed in the late 1980s by American immunologist David P. Strachan, may explain how children who are exposed to bacteria from pets such as dogs and cats, both in utero and at young ages, are less prone to developing allergies.
Hygiene hypothesis and benefits of early exposure of germs | Britannica