The associative law says that when every operator is the same, it does not matter which pair you do first:
(A + B) + C=A + (B + C)(AB)C=A(BC)
That is why we can simply write and with no brackets at all.
In hardware, it means a 3-input AND gate does the same job as two 2-input AND gates chained together, and you can split a wide OR into a tree of smaller ORs. The function stays the same; only the gate count and timing change.
The law only applies when the operators are all the same. Mixing them is a different matter: (A + B)C is not A + (BC). Moving brackets across a mix of AND and OR needs the distributive law, and getting this wrong is a common slip. See operator precedence.