Nanoparticles can be generated in aerosols using several techniques, including nebulization, electrospray, and chemical vapor deposition (CVD). Nebulization involves converting a liquid solution containing nanoparticles into a fine mist. Electrospray generates nanoparticles by applying a high voltage to a liquid, creating a fine spray of charged droplets. CVD involves chemical reactions in a gas phase to produce nanoparticles.