Backtracking is a exploration technique used to build solutions step by step, exploring all possibilities, and undoing (backtracking) when a path does not lead to a valid or optimal solution.
It is often used in constraint satisfaction problems (where you need to find all valid configurations)
If the choice is not suitable, then this value is rolled back (and also the ones performed in the upper layers in the stack) and another one is tried