Arrow keys are used to move the cursor in different directions: up, down, left, and right.