A Type II supernova is a stellar explosion that occurs at the end of a massive star's life cycle, triggered by the gravitational collapse of its core after nuclear fuel is exhausted. This event results in the ejection of the star's outer layers and leaves behind a neutron star or black hole, while releasing a significant amount of energy and light observable across vast distances in space.