Hi!
Coral and zooxanthellae have a mutualistic relationship, where they both benefit. These organisms work together in order to benefit each other and their own survival.
The coral provides a safe protective place for the zooxanthellae, so they can perform photosynthesis. =)