In Oldschool RuneScape (and, to this date, RS3 as well) you can prospect any ore rock. But I never understood the purpose of this feature. Visually, it's very obvious which kind of rock you're mining, there is no real need to prospect the rock and you don't gain any experience either.

Are there some extra benefits from prospecting a rock that I am missing?