Aerosol formation and heterogeneous chemistry in the atmosphere