Summary:

Defending units get important bonuses for occupying forest, jungle, or hill tiles. Attacking melee units are penalized if they attack an enemy across a river. Attacking units get bonuses when attacking from a hill. See the section on Terrain for more details.