Stars are formed by Hydrogen and helium coming together and being smashed together by gravity in the density wrinkles. These are the imperfections in our universe's space/ different gravity pockets. Then they are cooked at 10 million degrees Celsius. Then fusion starts, and the star is made. Stars then start ageing, and after a few million years, their fusion runs out of hydrogen and switches to running on helium, which turns it into a red giant. But when they get to the end of their lifetime, the big stars explode and make a supernova, and the center turns into a black hole or neutron star. The average star does something different the center will turn into a whit dwarf. Stars are important because they light up our planet, give us energy, and keep us warm. They can also make things that are beautiful, like galaxies, constellations, and different colors of stars.