Viscosity is, essentially, fluid friction. Like friction between moving solids, viscosity transforms kinetic energy of (macroscopic) motion into heat energy. Heat is energy of random motion at the molecular level, so to have any understanding of how this energy transfer takes place, it is essential to have some picture, however crude, of solids and/or liquids sliding past each other as seen on the molecular scale.
galileo.phys.virginia.edu
For Students: Fact Sheet, Homework Problems, Study Guide
Fluids Fact Sheet
galileo.phys.virginia.edu
Physics 152: Homework Problems on Fluids
galileo.phys.virginia.edu
Fluids: the Essentials
galileo.phys.virginia.edu