The equality and relational operators determine the relationship between the two operands. It checks if an operand is greater than, less than, equal to, not equal to and so on. Depending on the relationship, it is evaluated to either true or false.
Equality and relational operators are used in decision making and loops (which will be discussed later). For now, check this simple example.