Dental materials

What is the main purpose of acid etching enamel before placing an adhesive resin restoration?