Symbiosis in corals of the Devonian https://www.mpg.de/23637516/coral-devonian-photo-symbiosis
Analysis of nitrogen isotopes by a team lead by the max Planck Institute for Chemistry provides evidence of the earliest known photosymbiosis in corals of the devonian.
In contrast, corals that feed themselves by actively catching plankton have nitrogen