Both mitochondria and choloplasts were thought to be single-celled bacteria that got "eaten" by other organisms, eventually giving rise to complex organisms that have mitochondria or chloroplasts in...
Chloroplast in a plant cell performs photosynthesis which give the cell energy and food. Mitochondria is the power house of the cell and creates energy too.