Describe the similarities and differences between the lichen and coral

Describe the similarities and differences between the lichen and coral symbioses.