When computer code encounters the word "if." what does it do?

(1 point)
A. iterates
B. checks if the condition is true or false
C. follows a sequence
D. repeats the instructions

B. checks if the condition is true or false