Endosymbiosis is a type of symbiosis where one organism lives inside the other. A classic example is the mitochondria in eukaryotic cells, which are believed to have originated from ancient bacteria.