P. rubens is the principal source of a class of antibiotics, penicillins. The species produces three such compounds, benzylpenicillin (G), phenoxymethylpenicillin (V) and octanoylpenicillin (K). Penicillin G is the first naturally occurring compound isolated and used as an antibiotic. It is also the source of cephalosporins.