Why did china begin to use paper money?

paper money was first used because of a metal shortage