Fungi are used to produce antibiotics like penicillin and other drugs that treat various diseases.