What is the Endosymbiotic Theory?

The endosymbiotic theory concerns the origina of mitochondria and plastids which are organelles of eukaryotic cells. Also according to this theory, these organelles originated as separate prokaryotic organisms.