Gravitational collapse
For example, a star is born when a huge cloud of interstellar gas slowly comes together because of gravity. As this continues to happen, the pressure and temperature inside the cloud increases. Soon, the temperature and pressure becomes so much that they thermonuclear fusion starts.