They are why an unripe persimmon, a raw quince, an acorn or very strong tea makes your mouth pucker. Ripening or cooking removes or softens many tannins.
Traditionally, tannin-rich plants are used as astringents, and they are also used to tan hides and dye. In excess they can hinder digestion.

