it is used, as the name suggests, for scrolling. rolling the upper side of the wheel away from your body represents "up". in a window system, this motion moves the scrollbar thumb upwards and the contents of the window downward. in "natural scrolling" the effect is reversed such that the contents of the window moves upward.