General election are held after five years usually for a nation, states and local bodies.
When central or stats government lose their majority before the tenure of five years, there held a mid- term election for formulation of new government.
When any member of parliament or state legislature resigns or dies during his tenure, then held by-election for vacant seat.