Welcome, rabbit221!
A unit’s attack and defense ratings indicate which numbers on the die rolls score hits. For example, infantry, with an attack rating of 1 and a defense rating of 2, score hits when attacking on a 1 and score hits when defending on a 2 or less.