Dirty carpets can harbor allergens, dust mites, bacteria, and mold, which can contribute to respiratory problems, allergies, and even worsen existing health conditions.