Which of the following best explains the Electoral College?

A group of people that decides which candidate should be elected president if there is
a tie between the final two candidates

A body of electors in each state that casts a fixed number of votes for the president
based on the combined number of seats the state has in the House and the Senate

A group of people that determines which candidate from each political party is allowed
to run for president by researching the state citizens' preferences and voting accordingly

A body of electors in each state that determines the number of votes for each
candidate by the citizens of that state and casts a vote for the president based on the
total citizen votes?