  Core segregation and atmosphere formation are two of the major processes that
redistribute the volatile elements-hydrogen (H), carbon (C), nitrogen (N), and
sulfur (S)-in and around rocky planets during their formation. The volatile
elements by definition accumulate in gaseous reservoirs and form atmospheres.
However, under conditions of early planet formation, these elements can also
behave as siderophiles (i.e., iron-loving) and become concentrated in
core-forming metals. Current models of core formation suggest that
metal-silicate reactions occurred over a wide pressure, temperature, and
compositional space to ultimately impose the chemistries of the cores and
silicate portions of rocky planets. Additionally, the solubilities of volatile
elements in magmas determine their transfer between the planetary interiors and
atmospheres, which has recently come into sharper focus in the context of
highly irradiated, potentially molten exoplanets. Recently, there has been a
significant push to experimentally investigate the metal-silicate and magma-gas
exchange coefficients for volatile elements over a wide range of conditions
relevant to rocky planet formation. Qualitatively, results from the
metal-silicate partitioning studies suggest that cores of rocky planets could
be major reservoirs of the volatile elements though significant amounts will
remain in mantles. Results from solubility studies imply that under oxidizing
conditions, most H and S are sequestered in the magma ocean, while most N is
outgassed to the atmosphere, and C is nearly equally distributed between the
atmosphere and the interior. Under reducing conditions, nearly all N dissolves
in the magma ocean, the atmosphere becomes the dominant C reservoir, while H
becomes more equally distributed between the interior and the atmosphere, and S
remains dominantly in the interior.
