General scheme of a mass spectrometer. Often, several types of sample inlets are attached to the ion source housing. Transfer of the sample from atmospheric pressure to the high vacuum of the ion source and mass analyzer is accomplished by use of a vacuum lock