Comparison operators are used to compare two values and return a Boolean result (True or False). They are fundamental in decision-making constructs such as if statements.
Boolean: A data type that has only two possible values: True or False.
Logical Operators: Operators such as and, or, and not that combine multiple Boolean expressions.
If Statement: A control flow statement that executes a block of code based on a condition being True.