Structure of an atom and mass spectrometer