Pitcher plant traps insects because it
Such plants do not get all nutrients from the soil, in which they grow. Therefore, to get enough nutrition they trap insects.