Now-a-days most of the countries followed democracy.
Due to vast areas and more population each and every country adopted representative democracy, means indirect democracy.
In this part instead of people, people’s representatives participated in law making, interact with constituents and decisions are taken by representives only.
So to elect the representatives is necessary.