If you successfully raid another player, you will receive some of their resources.

In order to win in a raid, you have to send a number of units that is stronger than your enemy's defense. The amount of resources you raid when victorious depends on the transport capacity of your attacking units.
In addition to offensive units you can also send transport units on a raid.