In Nepenthes, the pitcher is a modified:
Leaf
Nepenthes or pitcher plant is a shrub or climber having large pitchers of 10-45 cm in length. Lamina of a leaf is modified into a pitcher with the leaf apex forming its lid. Insects are attracted by the gaudy colour of the lid and pitcher as well as the nectar available on the rim and neck of the pitcher.