A trackball is a pointing device consisting of a ball held in a socket that can be rotated by hand to move a cursor on a screen. It is commonly used as an alternative to a mouse in computing and gaming applications.