Parentheses play an important role in deciding the order of operations. Parentheses work the same way they do in math - the operations inside parentheses are carried out first.

Below is the BR operator precedence chart: