Electrons in atoms can only exist in discrete energy levels, and these electrons can gain energy from collisions with free electrons, which can cause them to move up in energy level, this is known as excitation, or they can gain enough energy to be removed from the atom entirely, this is called ionisation.