Which energy transformation occurs in the core of a nuclear reactor?

A.nuclear energy to mechanical energy

B.nuclear energy to thermal energy

C.thermal energy to nuclear energy

D.mechanical energy to nuclear energy