A general officer is an officer of high rank in the armies, and in some nations' air and space forces, marines or naval infantry.