They take a blood sample. You drink the sugar flavored water. Wait 2-4 hours. Another blood sample is taken. The only worry is if you have gestational diabetes.
You drink a glucose solution and are tested an hour later to see if you have gestational diabetes. It is important because it can cause rapid growth of the baby.