is the legisilative branch like a commander

No, the legislative branch is not like a commander. The legislative branch of a government, also known as the legislature, is responsible for making and passing laws. It is typically a collective body consisting of elected representatives who debate, deliberate, and vote on proposed legislation. The role of the legislative branch is to create laws that reflect the will and interests of the people it represents, while also providing checks and balances on the executive branch.