The main function of any type of legislature is to make and pass laws. Depending on the country, legislatures may also be given additional powers, such as the power to collect taxes, declare war, and approve of federal appointments.
-credits to G00gle-