Repetition
A recurrence of the same position with the same side to move and the same possible moves.
In plain words
Repetition in the rulebook sense is exact: the same position, with the same player to move and the same legal options, including castling and en passant rights. When such a position has appeared three times, a player to move may claim a draw; the claim is the player's, not automatic. The game is drawn without any claim only when the same position has appeared five times, the automatic FIDE limit. The classroom mix-up is shuffling pieces back and forth: repetition is not 'the same moves', and a perpetual check becomes a claim only when the positions, the turn and the options all match.
Defined in
Art. 9.2 · 50-move rule and repetition
Know when a player needs to claim a draw and when a draw takes effect automatically under FIDE.
ReadArt. 9.2 in the FIDE Handbook