A homophonic pun is a play on words that sound the same but have different meanings, while a homographic pun is a play on words that are spelled the same but have different meanings.

rewrite pls :3

A homophonic pun involves words that sound the same but have different meanings, while a homographic pun involves words that are spelled the same but have different meanings.