Answer:
The main task of the legislative branch is B, to create new laws.
Step-by-step explanation:
It doesn't hold criminal trials or manage the courts, and the executive branch commands the military although it needs Congress' approval to declare war.