The endosymbiotic theory helps to explain the origin of which structures?
mitochondria
ribosomes
nuclei
cell membranes