A planet can be stripped of its atmosphere (or parts of the atmosphere) due to high energy photons and other electromagnetic radiation. If a photon interacts with an atmospheric molecule, the molecule is accelerated and its temperature increased. If sufficient energy is provided, the molecule or atom may reach the escape velocity of the planet and "evaporate" into space. The lower the mass number of the gas, the higher the velocity obtained by interaction with a photon. Thus hydrogen is the gas which is most prone to photoevaporation.