Summary:

The unit's "range" stat determines the distance at which a unit can launch a ranged attack. A range of "2" means that the target can be in an adjacent tile or one tile distant. A range of "1" would mean that the target had to be adjacent to the attacker. (There are no units with a range of 1, by the way, so don't scour the Civilopedia for 'em.)