It's like voting but only certain people get to vote, and it is supposed to give a general idea of who might be the best candidate to actually be voted to be the nominee for that party.