When Harry's parents were murdered by Lord Voldemort, they left behind a large pile of wizard's gold, used as currency in the world of magic, in a vault in the wizarding bank, Gringotts. This becomes Harry's source of paying for all of his Hogwarts textbooks, wizarding clothing, and spending money.