Here is a look how votes are counted and what happens after that.
VOTE COUNTING
Vote counting is decentralised and done simultaneously at counting stations in each of the 543 constituencies around the country.
Counting begins at 8 am (0230 GMT) on June 4 with the tallying of postal ballots that only select groups can use, including people with disabilities, or those involved in essential services including security forces and some government officials.
After paper ballots, votes recorded in the Electronic Voting Machines (EVM) are counted, which India has used since 2000, moving away from paper ballots for national and state elections.
CRITICISM OF THE PROCESS
Along with the electronic record of each vote cast through the EVM, a corresponding paper slip is also produced, which is visible to the voter, and then stored in a sealed box.
The poll watchdog, the Election Commission of India (ECI), counts and verifies these paper slips against electronic votes at five randomly selected polling stations - drawn by lots - in different segments of each constituency.
While critics and some members of civil society, including some political parties, want verification to be done at more booths to increase transparency, the Supreme Court has declined to order any change in the vote-counting process.
The ECI has dismissed allegations that EVMs can be tampered, calling them foolproof.
FORMING THE GOVERNMENT
Results are announced for each constituency as soon as counting is completed. India follows the first-past-the-post system, under which a candidate with the highest number of votes wins, regardless of garnering a majority or not.
Result trends generally become clear by the afternoon of counting day and are flashed on television news networks. The official count from the ECI can come hours later.
After the ECI announces the results for all 543 seats, the president invites the leader of the party, or an alliance, which has more than half the seats to form the government.
The party or coalition with 272 or more seats then chooses a prime minister to lead the government.
In the 2019 elections, Modi's Hindu-nationalist Bharatiya Janata Party won 303 seats and its National Democratic Alliance (NDA) partners secured about 50 more. Meanwhile, the main opposition Congress won just 52 seats, with another 91 seats going to its allies.
If no political party or alliance gets a simple majority, leading to what is called a "hung house", the president asks the party with the largest number of seats to form a government, and prove a majority on the floor of the house later.
A new Lok Sabha, the lower house of parliament, has to be in place before its current term ends on June 16.
EXIT POLLS
Most exit polls on Saturday projected the NDA could win a two-thirds majority in the lower house of parliament. A summary of five major exit polls projected the NDA could win between 353 and 401 seats.
Exit polls, which are conducted by polling agencies, have a patchy record in India as they have often got the outcome wrong, with analysts saying it is a challenge to get them right in the large and diverse country.