Do you get all the energy from a piece of fruit you eat?
Yes, because all the energy is used for work.
No, because some of the energy is dispersed as heat.