We have three branches of government to separate the power and make i equal among the three branches of government. If there wan't a legislative branch, we wouldn't have any laws at all because,no one would make them and send them to the executive branch or the president.
I hope this helps good luck