Mass spectrometry (Mass spectrometer) is the analytical technique that measures the mass to charge ratio of ions. In this technique the sample molecules are converted into ions by several methods such as: electron impact ionisation, Chemical ionisation, or electrospray ionisation. Once the ions are generated they are allowed to enter the mass analyser where they are separated by magnetic field based on their mass to charge ratio.