The rhetorical device-pun intentionally uses homophone (phonogram) and polysemous words which can possible generate equivocality in order to punningly express what the speaker is really driving at.
In most languages today, the individual written characters represent sounds we can make, rather than entire words or other meaningful units of language. That's what is called a phonogram.