Photosymbiosis

Photosymbiosis is a type of symbiosis where one of the organisms is capable of photosynthesis.

Examples of photosymbiosis
Lichen Variospora thallincola growing on rock
Cross section through a Glycine max (soybean) root nodule. Nitrogen fixing bacteria, Bradyrhizobium japonicum, infect the roots and establish a symbiosis. This image shows part of a cell with single bacteroids (bacterium-like cells or modified bacterial cells) within their symbiosomes.
Tall fescue grass leaf sheath tissue with Neotyphodium coenophialum mycelia inhabiting the intercellular spaces (spaces between the grass cells)
A ciliate, Paramecium bursaria, with green zoochlorellae living inside it as endosymbionts
Southern giant clam Tridacna derasa
Upside-down jellyfish Cassiopea xamachana

Examples of photosymbiotic relationships include those in lichens, mycorrhizas, plankton, ciliates, and many marine organisms including corals, fire corals, giant clams, and jellyfish.

Photosymbiosis is important in the development, maintenance, and evolution of terrestrial and aquatic ecosystems, for example in biological soil crusts, soil formation, supporting highly diverse microbial populations in soil and water, and coral reef growth and maintenance..

When one organism lives within another symbiotically it's called endosymbiosis.

Endophytes (symbiotic archaea, bacteria, or fungi that live within a plant for at least part of their lifecycles) play an important role in aiding plants with pathogens and disease, water stress, heat stress, nutrient availability, poor soil quality, salinity, and herbivory.

Plagiomnium affine moss cells with visible chloroplasts—a type of plastid.

Photosymbiotic relationships where microalgae and/or cyanobacteria live within a heterotrophic host organism (an organism that doesn’t make its own food), are believed to have led to eukaryotes acquiring photosynthesis, and to the evolution of plants.