However, in general, primary elections are held to determine the candidates who will represent a political party in the general election