You can combine AND, OR, and NOT to build complex conditions. For example: (age >= 18 && hasID) || isVIP.
This expression says: either you meet both basic requirements (age and ID), or you're a VIP who bypasses them. The parentheses group the AND before the OR.
Without parentheses, operator precedence matters. NOT has highest priority, then AND, then OR. If you write a || b && c, it groups as a || (b && c). When in doubt, add parentheses.