In the shell of gastropod mollusks, the lip is the free margin of the peristome or aperture of the gastropod shell.