What is this glucose test?

Natasha • 21, A happy wife, and a proud mommy to Josiah! Life is sweet, and I always try to stay positive! 🌞
Every time I see a post about this the person seems miserable. So... what exactly is it? I'm pretty sure it is pregnancy related. But what exactly happens and why do people seem like they are just dreading it? :/