An endosymbiont is an organism that lives inside the body or cells of another organism. Anabaena is a genus of cyanobacteria, some species of which form mutualistic endosymbiotic relationships, notably with the aquatic fern Azolla. Anabaena lives within cavities in Azolla leaves and fixes atmospheric nitrogen, providing nutrients to the fern.