The president is the commander in chief of the military. The president is a civilian, not a military official. The writers of the Constitution wanted the commander in chief to be a civilian who is elected by the people. The president is the commander in chief of the military.
Section "Learn and Explore" uses official instructions and media files of US Citizenship and Immigration Services, US National Museum of American History, The Smithsonian Institution and other governmental and public organization.