Most fruits are excellent ride food. The problem here is portability and availability. Watermelon is a great ride food but they are rather hard to fit into a jersey pocket.
What we call "fruits" generally have decent quantities of electrolytes, sugar, complex carbohydrates, vitamins and fiber. So as a post ride food, they are superb.