Why do cats scratch?

How to stop a cat from scratching where she is not supposed to?

For vertical scratchers