A cell is taken in by another unicellular organism and becomes an organelle in the organism
The endosymbiont theory is that energy converting organelles (such as chloroplast and mitochondria) evolved from prokaryotic cells that had been engulfed by early eukaryotic cells.