There are three types of elections to elect a leader of a country.
General election
Voters elect the head of state as well as federal and local representatives.

Presidential election
Voters elect the country’s head of state or president. The president holds the highest political position and officially represents the country.

Parliamentary election
The legislative body is elected by the people and, in turn, chooses the head of the government or prime minister. The legislative body implements laws and runs the government on a day-to-day basis.