A touchpad is an input device. It operates on the same principle as your mouse does, taking your movements or gestures and translating them into a form the computer can understand in order to get work done.
a touchpad in a input because when you touch the pad it sends data to the computer/device to process. this makes a touchpad and input and not an output.