The study of ancient languages and written texts is known as philology. It involves analyzing the language and literature of ancient civilizations to better understand their history and culture. Those who specialize in this field are called philologists.