The caffeine in coffee "beans" protects the seeds of the plant. It is a form of natural plant defense against herbivory. The fruits and leaves also contain caffeine, and can be used to make a tea called 'Coffee cherry tea'. The fruit is also used in many types of soft drink.