A clogged drain not only stops water from going down properly but also allows bad smells from the depths of your plumbing to flow into your home. Sewers have an odor that is hard to remove.
Once that smell gets in your home, it can be a real challenge to clear it. Your best bet is to make sure it never gets there in the first place. Cleaning the drain regularly is the best way to make sure bad odors stay down below where they belong.