OK, thanks.
From that description, it looks like an iMac (Retina 4K, 21.5-inch, 2017). Those models and newer only have an audio out/headphone jack - no audio input. So, you'll need a USB microphone, or a USB/Thunderbolt audio interface to connect the mic to.
What brand/model is the mic?
C