This involves removal Hydrogen ion from the compound. One or more proton can be removed. That depends on the ease of removal of such protons. Therefore, you may not actually observe molecular ion in the spectrum, but a peak which 1 unit less as the molecular ion. i.e [M-H]
Deprotonation is the removal of a hydrogen ion (H+) from a molecule. Analytes for ESI-MS analysis must either exist as preformed ions in solution or charged by protonation, deprotonation, adduct formation, electrochemical oxidation or reduction. ESI process generates vapour phase ions that can be analyzed for mass-to-charge ratio within the mass spectrometer. Charge separation is the primary method by which ions are formed for organic and biological molecules with acidic or basic functional groups. Proteins, with their multiple basic amino acid residues, readily form positively charged ions through protonation, whereas oligonucleotides and fatty acids can be negatively charged through deprotonation of acidic groups. Positively charged ions such as protonated organic bases are analyzed in the positive ion mode, whereas negatively charged ions such as inorganic anions and deprotonated organic acids are analyzed in the negative ion mode. Upon collisional activation, the deprotonated molecular ions [M – H]− dissociate in two reaction channels, both of which involve intramolecular rearrangement. In the case of basic analytes like amines, the protonated pseudo molecular ions ([M+H]+) are used as precursors ions for following collision experiments and spectra acquisitions. Organic acids or other acid compounds are negatively charged ([M-H]) via deprotonation and the deprotonated pseudo molecular ions are selected as precursor ions. For further details, you may refer attached paper