A pearl is formed when the mantle tissue is injured by a parasite, an attack of a fish or another event that damages the external fragile rim of the shell of a mollusk shell bivalve or gastropod. In response, the mantle tissue of the mollusk secretes nacre into the pearl sac, a cyst that forms during the healing process. Chemically speaking, this is calcium carbonate and a fibrous protein called conchiolin.