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

A homophonic pun relies on words that sound the same but have different meanings, such as "I'm reading a book on anti-gravity, it's impossible to put down." A homographic pun relies on words that are spelled the same but have different meanings, such as "I told my wife she should embrace her mistakes - she gave me a hug."