The friction between two surfaces originates in their roughness, even at the molecular level.
The following animation will allow you to see what happens when one objects moves on another one.

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte