A joystick is an input device built around a stick that pivots on a base, used to control movement and direction in games and simulations.
They are most associated with flight simulators, where the pitch and roll controls map naturally onto a physical stick, and with arcade-style games that were designed around them. Console systems such as the Xbox use a different arrangement, with small analogue sticks built into the controller rather than a separate peripheral.
The advantage over a keyboard or standard gamepad is precision on two axes at once. If you are playing a flight or space sim, a proper joystick makes a substantial difference.