If condition is true, runs the blocks inside