They differ vastly in literary and formal vocabulary; where literary Urdu draws heavily on Persian and Arabic, literary Hindi draws heavily on Sanskrit and to a lesser extent Prakrit. The grammar and base vocabulary (most pronouns, verbs, adpositions, etc.) of both Urdu and Hindi, however, are the same and derive from a Prakritic base, and both have a heavy Persian influence