The Carnot heat engine

A.receives energy at a high level of temperature
B.converts a portion of the energy received into work
C.discharges portion of the energy received to a heat sink at a low level of temperature
D.all of the above