These gates are mandatory crossings. The next gate you have to cross is marked with an orange line. The arrows around the buoys indicate the direction in which you must cross this line.
Once this gate is crossed, the orange line turns green. The rotating arrows then appear around the buoys of the next gate, and so on until the last gate.
Your time during the passage of each gate is recorded in the intermediate rankings.