 There is evidence that this dopamine functions as an anti-herbivore defense, reducing consumption by snails and isopods.Melanins are a family of dark-pigmented substances found in a wide range of organisms.Chemically they are closely related to dopamine, and there is a type of melanin, known as dopamine-melanin, that can be synthesized by oxidation of dopamine via the enzyme tyrosinase.