Stars are balls of hydrogen and helium gas that are held together by gravity. In their cores, stars sustain nuclear fusion reactions that burn hydrogen into helium, releasing energy that causes them to shine. Stars form in nebulas, large clouds of gas and dust in space that provide the raw materials for stars to come together and take shape.