According to Article II, Section 2, Clause I of the Constitution, the president of the United States is “Commander in Chief of the Army and Navy of the United States, and of the militia of the several States, when called into the actual Service of the United States.”president of the United States- Commander-in-chief (Wikipedia)
A commander-in-chief or supreme commander is the person who exercises supreme command and control over an armed force or a military branch. As a technical term, it refers to military competencies that reside in a country’s executive leadership, a head of state, head of government, or other designated government official.