Which is the main function of fruit?

Which is the main function of fruit?

a. To protect the seed and aid in its dispersal
b. To protect the flower and aid in pollination
c. To protect the seed and aid in germination