How, does parties play a decisive role in making laws for a country?

Parties play a decisive role in making laws for a country in the following manner
(i) The ruling party supports the bills and policy matter of the government whereas opposition party try to find the negative points. So public can know positive and negative points of the bill.
(ii) Laws are debated and passed in the Parliament which consist of members of different political parties.