Syntax Analysis analyses Syntactical structure of the given input. It Checks if the given input is in the correct syntax of given language programming language. A syntax analyzer is also called as a parser. A parse tree describes a syntactic structure. The Parse Tree is developed with the help of pre-defined grammar of the language. The syntax analyzer also checks whether a given program fulfills the rules implied by a context-free grammar. If it satisfies, the parser then creates the parse tree of that source program. Otherwise, it will display error messages