What causes chafing?

Can you answer this question?