How Does A Party Nominate A Presidential Candidate?

How Does A Party Nominate A Presidential Candidate? In primaries, party members vote in a state election for the candidate they want to represent them in the general election. After the primaries and caucuses, each major party, Democrat and Republican, holds a national convention to select a Presidential nominee. How does the Democratic party nominate