Giant ants are similar to their normal insect counterparts. Both worker and warrior ants fight. If a warrior manages to bite, it also tries to sting. The queen does not move or fight.
Note: Giant ants originally appeared in this form in the 2nd Edition Monstrous Manual for the AD&D game from TSR. Their use here is for the purposes of providing context for the campaign only.