A flag officer is a commissioned officer in a nation's armed forces senior enough to be entitled to fly a flag to mark the position from which that officer exercises command.