A poisonous substance that is a byproduct of the metabolism of living organisms, particularly bacteria.