Pitcher plants are carnivorous plants whose prey-trapping mechanism features a deep cavity filled with liquid known as a pitfall trap. Insects such as flies are attracted to the cavity formed by the cupped leaf, often by visual lures such as pigments, and nectar. The rim of the pitcher is slippery, causing insects to fall into the trap.