In one to two sentences, explain the difference between a homophonic pun and a homographic pun

A homophonic pun is a play on words that relies on similar sounds but different meanings, while a homographic pun is a play on words that uses similar spellings but different meanings.