A gymnast performing a handstand is primarily demonstrating balance (static balance/control of the body while inverted). They also show other attributes like strength (especially in the shoulders and core) and flexibility, but the key physical attribute highlighted in a handstand is the ability to maintain balance in an upside-down position.