To elect means “to choose or make a decision”, and so sometimes other forms of ballot such as referendums are referred to as elections, especially in the United States.