what is the main purpose of the legislative branch??

best answer
The legislative branch of any government exists to create amend and repeal laws that provide structure and order to a society. In the United States it is called the Congress. According to Article 1 of the Constitution only Congress may enact legislation or declare war.