What is a resonator on a 1994 Toyota 22re motor do?

A resonator on any car is to help the muffler keep the exhaust noise level to a minimun.