Rain can indirectly affect indoor air quality by increasing humidity levels. When it rains, the outdoor air becomes more humid, which can lead to moisture seeping into buildings through leaks or poor ventilation. This increased moisture can create a breeding ground for mold, mildew, and dust mites, which can negatively impact indoor air quality and potentially trigger allergies or respiratory issues. It's important to ensure proper ventilation and address any leaks or moisture issues to maintain good indoor air quality, especially during rainy periods.