Electing the president. The electoral college, people that the citizens elect, who cast their votes for the president. Some states have more electors than others. It is based on population. For example, California has 55 because they are a large state while North Carolina has 15.
Hopefully this helps.