What is promotion in chess?
A pawn that reaches the far side gets a reward.
When a pawn reaches the other side, it promotes: it becomes a queen, rook, bishop or knight. Almost always you pick a queen.
Move your pawn to the other side and choose a queen.
Walk your pawn to the other side.
Capture the rook and promote at the same time.