When a Pokémon uses Attract on another Pokémon of the opposite gender, the target may become infatuated. In the games, an infatuated Pokémon cannot attack 50% of the time.
Attract's battle animation usually involves throwing hearts or making hearts appear on the target Pokémon.