The president has the power to give orders to all uniformed military officers.
This title, commander-in-chief, signifies that the president is the highest-ranking officer in the armed forces and is responsible for overseeing military operations and making significant military decisions, although the power to declare war formally resides with Congress.