It is true that mitochondria are found in both plant and animal cells.
Since they are autotrophs, plants are the main producers.
Plants still make energy through cellular respiration at night, and mitochondria are crucial since they serve as the site of the activity and also serve to store energy.
The primary function of mitochondria is to maintain a constant flow of adenosine triphosphate (ATP), which is the primary energy-carrying molecule in every cell.
During cellular respiration, mitochondria oxidize carbohydrates to produce energy.