To elect is to choose. A group of citizens may elect the next president, or you may just elect to stay home during the blizzard.
Most famously, in the political sense, elect means to choose a person for public office, usually via an election. It also means to choose a particular course in life of major consequence. You probably don't elect to drink Pepsi over Coke, but you do elect to study a particular major at college, or sign up for military service.