Attract is an Normal-type status move. It is TM45 and can be found at Lake Bliss.
If the target is the opposite gender of the Pokémon who launched the move, the target becomes infatuated. If the move is used on a Pokémon that is the same gender as the user, it will fail. It will also fail if used by or on a genderless Pokémon. If the foe Pokémon holds a Destiny Knot and then becomes infatuated, the user will fall under the same effect. Unlike most status moves, this move will affect a target with a substitute.
Pokémon with the Ability Oblivious or under the protection of Aroma Veil are immune to the effects of Attract.
If it is the opposite gender of the user, the target becomes infatuated and less likely to attack.