Answer :

All three branches of government help create a new law, however the legislative branch is the one responsible for writing the laws. They write them and pass them through. Once they are passed through the legislative branch, they are turned over to the executive branch for the members such as a the President to sign. The judicial branch then ensures everyone is following these laws.
Riya25
The government has three branches 
the legislature
the executive
the judiciary
All of these are responsible for creating law in one way or the other but the most important fact is this that the legislature is the branch which deals with the formation of laws