Chemical ionization is a soft ionization technique used in mass spectrometry that involves ionizing a sample by reacting it with ions of a reagent gas. This method produces less fragmentation than electron ionization, making it useful for determining molecular weights and structures of organic compounds.