Friction is the resistance to motion of one object moving relative to another. It is not a fundamental force, like gravity or electromagnetism. Instead, scientists believe it is the result of the electromagnetic attraction between charged particles in two touching surfaces.
Hope this is of great help to you, and happy studying~!
~Mistermistyeyed.