It seems like most fruits that we consume undergo some sort of ripening process either before or after they are picked from the vine, tree, etc. I understand that sugars are released during the ripening process and this is why ripe fruits are sweeter and more palatable than non-ripe fruits.
Why, though, do fruits have to undergo this process of ripening?
Wouldn't it be simpler to just grow and already be "ripe"? Does the ripening process confer some sort of advantage to the plant?