Stars are giant balls of gas, primarily hydrogen and helium. Through a process called nuclear fusion, they convert these elements into energy, which makes them shine bright in the night sky.