How does the blood test work for gender reveal at 7 weeks?

I was reading the ways to find out my babies gender and none of them said anything about a blood test, or said they could test the amniotic sac through your vagina, through a needle in your stomach and through ultrasound but I just saw posts about blood tests?

I looked it up, but my stupid question is it is just a normal blood test?