Where organelles came from
Mitochondria and chloroplasts began as free-living prokaryotes taken in by another cell, which is why they have their own circular DNA, ribosomes and double membranes, while prokaryotes manage with specialised regions and no inner membranes.
From AP Biology.