Endosymbiosis refers to the co-existence of living matter where one organism lives within the body or within the cells of another organism.