Earlier the mouse used to have a rubber ball inside it, and every few weeks we had to open it and clean the dust from the rollers. Now that ball is replaced by a small optical or laser sensor in the bottom, and because of this sensor the term DPI comes into the discussion whenever someone is buying a mouse, specially for gaming.
DPI is short for dots per inch. In mouse it means how many pixels...