A star produces energy by:

A: creating helium from hydrogen in its core.
B: reflecting energy from nearby stars.
C: absorbing and releasing the matter of other stars.
D: rotating quickly on its axis.