How does a star produce energy? How is this different from a power plant and combustion (fire)?

*ill report if wrong*