Who is the highest ranking military officer in the us military?

The President is the Commander in Chief. Highest Rank of the Military.