In many plants it is an irritant. Euphorbia sap burns the skin and can seriously damage the eyes; fig sap, in sunlight, marks and burns the skin.
Prune these plants wearing gloves and goggles. If it splashes into your eyes, rinse them with plenty of water and see a doctor.

