Which figure of speech is used in this text?
I got hit in the head by a can of soda. Luckily it was a soft drink.
A: pun
B: onomatopoeia
The text uses a pun, a word or phrase that humorously suggests more than one meaning.
Soft drink refers to a carbonated beverage such as a soda. It also suggests that the can is soft and thus doesn't cause too much pain.