Barnacles and corals are two types of animals that live in the ocean. Both animals build a hard layer of calcium carbonate around their soft body parts. What is the MOST LIKELY reason that they build these layers?