Cytisine is a toxic pyridine-like alkaloid. Pharmacologically it exhibits similar effects to nicotine due to structural similarity of the two molecules. In large doses it can interfere with respiration and become fatal.
Māmane (Sophora chrysophylla) can contain amounts of cytisine that are lethal to most animals. The palila (a bird) and Uresiphita polygonalis virescens as well as Cydia species (moths), and possibly sheep and goats are not affected by the toxin for various reasons and utilize māmane, or parts thereof, as food. U. p. virescens caterpillars are possibly able to sequester the cytisine to give themselves protection from getting eaten; they have aposematic coloration which would warn off potential predators.(Banko et al. 2002)
Plants containing cytisine, including the Common Broom and Mescalbean have also been used recreationally. Positive effects are reported to include a mild intoxication and heightened awareness of color. However this practice is not recommended since negative side-effects can include nausea, vomiting, convulsions, heart pain, headache and in larger doses even death via respiratory failure.
Etter JF, Lukas RJ, Benowitz NL, West R, Dresler CM. Cytisine for smoking cessation: a research agenda. Drug Alcohol Depend. 2008 Jan 1;92(1-3):1-2.
See also PDFs of clinical studies at: http://www.stoptabac.ch/cytisine/