The correct option is A energy
According to first law ΔQ=ΔU+ΔW
that is, heat supplied to a system is equal to the amount of work done by the system plus the increase in it's internal energy.
So, it's basically the same as the law of conservation of energy.