A programming language is a set of rules that provides a way of telling a computer what operations to perform.
It is a set of rules for communicating an algorithm and also provides a linguistic framework for describing computations.
A programming language also has words, symbols and rules of grammar. The grammatical rules are called syntax.