Most nebulizers work by using air compressors to create the mist containing the medicine. A different kind, called an ultrasonic nebulizer, uses sound vibrations. Nebulizers come in three main types: Jet - Compressed air turns the medicine into a mist (tiny particles of medicine that float in the air).