Summary:

Some units like archers and catapults and triremes engage in Ranged combat (that is, they shoot missiles at enemy units) when attacking rather than engaging in melee combat. Such units have two distinct advantages over melee units: first, they can attack enemy units that are not adjacent to them, and second, they do not take damage when they attack.