Stars are giant balls of hot gas composed mainly of hydrogen and helium. And why are they hot and bright?…