Caffeine, nicotine, solanine, atropine from deadly nightshade, and the alkaloids of oleander, yew or aconite (monkshood) are examples. Many plants use them as a defence against the animals that eat them.
Containing them does not always make a plant dangerous, but plants with strong alkaloids are not taken as home remedies: the useful dose and the toxic dose are very close.

