the president is the military's commander-in-chief. however, as part of the system of checks and balances in the constitution, article one says that only congress can declare war. still, the president can take actions like sending soldiers to certain places without needing congress's approval, or a declaration of war.