Hello there! I believe the answer you are looking for is linguistics.
According to wikipedia, "Linguistics is the scientific study of language, and it involves an analysis of language form, language meaning, and language in context. "
I hope this helps and have a a great day!