The purpose of syntax highlighting is to help make the code simpler to study and realize, by drawing focus to the different elements and their composition. Such as, keywords and phrases could be coloured in another hue to emphasise their great importance, although comments or strings may very well be colored differently to distinguish them from you