Mercenaries are hired troops you bring in to make up numbers when your own forces are short. You pay for them upfront, and they serve for a limited number of turns before they leave.
They are useful for plugging a gap quickly or reinforcing an army in the field, but because they cost more and do not stick around, they are a poor substitute for building your own standing units in the long run.