What is a star and how does it get energy?