What is a Closed Primary?

A closed primary is where voters must declare their party affiliation in order to vote, and then they vote only from the party that they are registered.