Both plants and animals are able to do cellular respiration. Plants convert nutrients from the soil into usable energy.
This is the plant cellular respiration formula:
oxygen + glucose -> carbon dioxide + water + heat energy
Hope this helped! Let me know if there is anything I need to clarify or explain more in depth