The purpose? Well if it wasnt there to balance gravity then you would accelerate right through the floor.. it is the forces acting between the atoms in two objects stopping them from getting any closer.
Friction is equal to

, where mu is called the coefficient of friction. It is affected by such things as the smoothness of the surfaces in contact. Hence for a given surface, the larger the normal, the greater the friction.
----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums
"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln
Physics Guides - Physics Resources and help