A salad spinner works by utilizing centrifugal force to remove excess water from freshly washed salad greens. The greens are placed in the basket or colander inside the spinner, and when the spinner is activated, it spins rapidly.