Two functions of fruits are:
The fruit is the fleshy covering of the seed thus protecting it.
The fruit has sugar, pulp and an attractive smell, thus attracting insects and helping in seed dispersal.
Final Answer:
The above mentioned points define the answer.