A raid is a move a commander may perform only if they have the Pillager ability. If all units under his command also have this ability, they can join the raid. A raiding party targets any adjacent province, where it kills population, causes unrest, and gains gold. It is essentially the same as the Pillage order, except it is performed from an adjacent province. The raiding force returns to its starting province after the raid is complete. Raiders may be discovered by province defense or patrollers. A limited combat is initiated if the raiders are caught. In this case, a battle will commence with province defense + patrollers versus the raiders. Winning the battle will not conquer the province. Additionally, a battle prevents any pillaging that turn, regardless of outcome.
You can read more on Raid here