What is the Definition of Friction?

I found two definitions of friction. One definition is the rubbing of surfaces between objects. The next definition is the opposition of ideas, as in an argument. Look here for more information: