What does Bad gate mean?

Bad gate meaning in Sports Dictionary

a poor begin the slalom course if you take the incorrect line through the gate. (recreation: sailing)