The Gamepad API lets web applications access input devices like gamepads, joysticks, and steering wheels. It returns a Gamepad object for each connected device containing information about its state, including buttons, axes, and haptic actuators.