In carnivorous plants digestive enzymes and acids break down insects and in some plants small animals. In some plants the leaf collapses on the prey to increase contact, others have a small vessel of digestive liquid. Then digestion fluids are used to digest the prey to get at the needed nitrates and phosphorus. The absorption of the needed nutrients are usually more efficient than in other plants. Digestive enzymes independently came about in carnivorous plants and animals.
The Uptake of Digestion Products by Drosera, by Chandler, Graeme, 1978
Carnivory of Byblis revisited – A simple method for enzyme testing on carnivorous plants, by Hartmeyer, Siegfried 1997
Some carnivorous plants, like the Heliamphora do not use digestive enzymes, but use bacteria to break down the food. These plants do not have digestive juices, but use the rot of the prey.
McPherson, S., A. Wistuba, A. Fleischmann & J. Nerz 2011. Sarraceniaceae of South America. Redfern Natural History Productions, Poole.