The sound comes into the mouth which is space where the sound can be made bigger (it “resonates”). Professional singers even learn to think of the whole head as a resonator. They sometimes talk about the “mask”, i.e. they imagine a mask in front of the face and this makes the sound bigger. The sound then comes out of the mouth so that it can be heard.