The animal that is capable of hearing the greatest range of sonic frequencies is the Galleria mellonella, commonly known as the greater wax moth. This moth, which is native to Europe and North America, can detect frequencies up to 300kHz, about 15 times higher than what humans can hear.
The moth uses its sense of hearing to avoid bats, one of its main predators in the wild. Bats use ultrasonic sounds to target prey through echolocation. Most insects can't hear these frequencies, but the greater wax moth can, giving it a chance to evade the bat. The moths also use even higher-pitched frequencies, outside the range of what a bat can hear, to communicate with each other.