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

A homophonic pun involves wordplay based on similar sounds but different meanings of words, whereas a homographic pun involves wordplay based on words that are spelled the same but have different meanings or pronunciations.