The eraser tool is used to erase parts of your image on the canvas. The eraser has different shapes and with the pressed L-Button you can select all this shapes in the pattern mode. In the pattern mode, the eraser erases only the pattern which is currently selected for the brush.

Eraser Shapes

Eraser primary

Shapes with pressed L-Button (or R-Button for left handed users):

Eraser secondary