In linguistics, "syntax" pertains to the set of rules, principles, and processes that govern the ways in which words combine to form phrases, clauses, and sentences. The term "syntax" comes from Greek, meaning "arrange together." The term is also used to mean the study of the syntactic properties of a language. In computer contexts, the term refers to the proper ordering of symbols and codes so that the computer can understand what instructions are telling it to do.

More Info: www.thoughtco.com