In linguistics, it is to divide language into small components that can be analyzed.
For example, parsing this sentence would involve dividing it into words and phrases and identifying the type of each component (such as verb, adjective, or noun). In computer science, it is an important part of many disciplines. For example, compilers must parse source code to be able to translate it into object code. Likewise, any application that processes complex commands must be able to parse the commands. This includes virtually all end-user applications.
Parsing is often divided into lexical analysis and semantic parsing: Lexical analysis concentrates on dividing strings into components, called tokens, based on punctuation and other keys; semantic parsing then attempts to determine the meaning of the string.