A chemical substance produced by microorganisms that has the capacity, in dilute solutions, to inhibit the growth of other microorganisms or destroy them.