How does a star get its energy?

Can you answer this question?