Typically, bathroom vent fans will only remove steam and help move the air around in the space. If you are trying to get rid of mold or mildew odors, consider using bleach to clean the space or adding air fresheners. Exhaust fans circulate air and thereby smells, but there is no guarantee they will be removed.