Answer:
The main function of the legislature is making and enacting of laws. The Constitution of India lays out provisions for the enactment of the law by the Parliament at the Union level. Regarding the State Legislatures, the Legislative Assembly makes the law in a State.
Have a nice day!!