Lighter elements like hydrogen, helium, and lithium were formed during the Big Bang, while heavier elements are formed through nuclear fusion processes inside stars. Elements up to iron are fused in the cores of stars through the triple alpha process, CNO cycle, and alpha ladder. When stars explode as supernovae, even heavier elements are created via the r-process of rapid neutron capture or the s-process of slow neutron capture in red giants.