Many fungi that produce compounds of importance to humans – including penicillin moulds – lived as lichens earlier in their evolutionary history but have since ceased to do so. Some researchers suggest that a number of these compounds, penicillin included, may have originally evolved as defensive strategies in ancestral lichens and persist today as metabolic legacies of the relationship.