Dear student
when a strip of copper metal is placed in a solution of silver nitrate, copper being a more reactive element displaces silver from its nitrate solution and forms copper nitrate with silver being deposited on copper strip.
2AgNO3 + Cu --------- Cu (NO3)2 + 2 Ag
​Regards