What does impaling do in Minecraft?

Impaling is a Minecraft enchantment that may be applied to tridents. When using a trident enchanted with Impaling to target aquatic creatures like squids, dolphins, guardians, and elder guardians, it does additional damage. The more damage the Impaling enchantment delivers, the higher its level.