In elections, the people vote for their next representative in the government. Therefore, whoever is the most appealing to the people will win the election. To appeal to the people, different political leaders/parties compete with each other. Each tries to please the people more than the other. In this way, elections lead to political competition.
(Keep in mind this is a very general answer I didn’t refer the class 9 ncert textbook_