The endosymbiotic theory is the scientific explanation of how eukaryotic cells, which make up complex organisms like plants and animals, evolved. It proposes that certain organelles within eukaryotic cells, such as mitochondria and chloroplasts, were once free-living prokaryotic organisms that formed a symbiotic relationship with larger host cells.