A raid in PvE means tackling a special instance, a raid instance, that requires more than just one group of players. In PvP, a raid usually refers to an attack on a particularly well-protected enemy target, which requires the concerted effort of several groups. Generally speaking, a raid refers to anything that requires more than approximately 8 players and involves greater coordination.