How does the voting process work in US elections?

How does the voting process work in US elections?