Union Government
(1) Subject to special rules for Money Bills and financial Bills, a Bill may originate in either House of Parliament. (2) A Bill is not deemed passed by Parliament unless agreed to by both Houses, with or without agreed amendments. (3) A pending Bill does not lapse merely because the Houses are prorogued. (4) A Bill pending in the Rajya Sabha but not yet passed by the Lok Sabha does not lapse when the Lok Sabha is dissolved. (5) A Bill pending in the Lok Sabha, or passed by it and pending in the Rajya Sabha, does lapse on dissolution of the Lok Sabha (subject to the joint-sitting provision in Article 108).
Most Bills can start in either House and need approval from both to become law. Prorogation (ending a session) doesn't kill a pending Bill, but dissolving the Lok Sabha (for fresh elections) does kill Bills that were still pending there - except Bills already sitting in the Rajya Sabha, which survive a Lok Sabha dissolution and can be taken up again by the new Lok Sabha.
If a Bill has already cleared the Lok Sabha and is awaiting a vote in the Rajya Sabha when the Lok Sabha is dissolved for a general election, that Bill does not automatically die - it can still be taken up once the new Lok Sabha is formed, since it was already pending in the Rajya Sabha.