Comparative grammar is a method that traces the differences and relationships between languages by comparing their elements like phonology, grammar and core vocabulary. It was the most important branch of linguistics in the 19th century in Europe and was stimulated by the discovery that Sanskrit was related to Latin, Greek and German. Comparative grammar studies sound and meaning correspondences between languages to determine their historical relationships and influences.