Here's how it works:
* Gravity: Stars are massive balls of gas, and their own gravity pulls them inward.
* Pressure: The inward pull of gravity creates immense pressure in the core of the star.
* Fusion: This pressure is so intense that it forces atoms of hydrogen to fuse together, forming helium. This process releases enormous amounts of energy in the form of light and heat.
Think of it like a tiny, continuous explosion happening in the star's core!