Voting is a method of determining the outcome of an election.