Tiny plant cells called zooxanthellae live within most types of coral polyps. They help the coral survive by providing it with food resulting from photosynthesis. In turn, the coral polyps provide the cells with a protected environment and the nutrients they need to carry out photosynthesis.