The present invention relates to obtaining bioactive peptides from plant raw materials, specifically cocoa extracts, by means of enzyme treatment. Said biopeptides have angiotensin converting enzyme (ACE) and prolyl endopeptidase enzyme (PEP) inhibitory activity in vitro and/or antioxidant activity in vivo, being able to be used in the food, dietetic and pharmaceutical industry.