Use of chemical compounds for treating air or the like