Guard Swap is a stat-affecting Psychic-type move; it switches any changes to the user's Defense and Special Defense stat stages with any changes to the target's Defense and Special Defense stat stages.
The stat stage changes provided by Guard Swap may be Baton Passed.
Guard Swap bypasses accuracy checks to always hit, unless the opponent is in the semi-invulnerable turn of a move such as Dig or Fly.