What is the basic principle involved in this experiment?

The basic principle involved in this experiment is that displacement reaction taking place due to the reactivity series of metals.

2