What happens when silver nitrate solution is added to sodium chloride solution?

(i) What happens when silver nitrate solution is added to sodium chloride solution? Write the equation for the reaction which takes place.
(ii) Name the type of reaction involved.
Answer: