the if statement causes one or more statements to execute only when a boolean expression is true.