Resonance is the condition when a system vibrates with greater amplitude for a specific frequency called the natural frequency of the system. Also, we know that the Intensity or the loudness of a sound is directly proportional to the square of the amplitude of the vibration, \(I\propto A^2\).
Hence we can conclude that at resonance sound is heard the loudest.
You can also check this answer "Why sound is heard louder at resonance?"