Mother of pearl builds up on the inside of shells when they are still inhabited by a living creature.