Massive stars end their life in a core-collapse supernova. In such a supernova, a shockfront from an explosion runs from the center of the star through its outer layers and ejects these. When the shockfront reaches the O/Ne-shell of the star (see also stellar evolution), the conditions for a 𝛾-process are reached for 1-2 s.