What is the connection and difference between Hindi and Sanskrit?

What is the connection and difference between ancient Sanskrit and Hindi today? Sanskrit is the literary language and standard language in ancient India, and it is also the religious language in India. It was brought to India from the northwest around 2000 BC. The word Sanskrit means "refined", "perfect" or "elaborately made", which eventually gave birth to Sanskrit. These languages have produced modern Indian languages such as Hindi, Bengali, Marathi and Gujarat, as well as Nepalese used in Nepal and Sinhala used in Sri Lanka. The oldest form of Sanskrit is named after Vedas, which is called Vedic Sanskrit. Later known as classical Sanskrit, works written in this language mainly involve non-religious issues. For more than 3,000 years, Sanskrit, as an academic and research language in India, continued to flourish. Until the19th century, the number of literary works written in Sanskrit did not decrease. Due to the competition between English as the language of government and science and the increasing influence of modern Indian language, the dominant position of Sanskrit has been weakened a lot. Nevertheless, people still learn this language widely. In fact, even many Indian scholars speak it. Sanskrit is an Indo-European language family, and its entry into the Indian subcontinent shows that this very scattered language family has added a new look. Of course, the ancient world, even the medieval world, did not know that it originated from Indo-European language family. It was not until the18th century that Sanskrit was first noticed to have obvious similarities with Latin and Greek, so some research was started and the interrelationships of all Indo-European languages were discovered, which laid the foundation for modern comparative linguistics and historical linguistics. Sanskrit is written in a letter called Sanskrit. Studying its origin is to study the development process of Indian characters. Most of the Indian alphabet comes from an ancient script called Bragami. Most scholars believe that this script originated from Semitic, probably Aramaic. One of the many branches of Sanskrit handwriting is called Gupta handwriting, which was adopted by Gupta Empire from 4th to 6th century. The letters of Tiancheng script are developed from the variation of Gupta handwriting, which is the earliest inscription in the seventh century. Sanskrit is written from left to right, and its alphabet consists of 48 symbols, of which 34 are consonants and 14 are vowels or diphthongs. This alphabet is considered as one of the most perfect writing systems so far. Hindi is the most widely used language in India, which is mainly used in two states in the north-central part of the country-Uttar Pradesh and Madhya Pradesh. As many as1.800 million people speak Hindi, which makes it one of the most important languages in the world, but only one third of the Indian population can understand it. 1947 When India became independent, Hindi was chosen as the national lingua franca, but it had to share its official language status with English because it failed to win the recognition of people who spoke other languages. Hindi is also spoken in many other parts of the world. In newly independent countries, such as Mauritius in the Indian Ocean and Fiji in the Pacific Ocean, about one third of the residents speak Hindi. Like most languages in northern India, Hindi is derived from Sanskrit. Hindi and Urdu, the official language of Pakistan, are actually the same language, although the former is written in Sanskrit letters and the latter in Persian-Arabic. Most words in pure Hindi come from Sanskrit, while many words in Urdu come from Persian and Arabic. Hindi and Urdu are based on Hindustan, which is a spoken language and has been used as a communication language in many parts of India for more than four centuries. Hindi was originally a variant of Hindustan popular in New Delhi. During the colonial period, when the British began to turn it into the standard language of government officials, it began to develop into a national lingua franca. Later, Hindi was used in literary creation, and since then it has become a tool for creating some excellent essays and poems.