Parsing is a process of analyzing a sentence by taking each word and determining its structure from its constituent parts. Parsing process makes use of two components: a parser and a grammar.
Parser and Grammar
Parser is a procedural component and is nothing but a computer program. Grammar is a declarative component. Parser remains unchanged irrespective of the language being used whereas the grammar changes depending on the language. So, a system can parse a different language by changing the grammar. Both the grammar and parser depend on the grammar formalism.