A joystick is used to control movement or aiming in games. By moving the stick, players can guide a character, steer a vehicle, or direct where the camera or weapon points.