They are roughly the same thing in that they can be described as forces that resist motion.With friction we normally refer to contact between two solids whereas with viscosity we refer to contact between a solid and a fluid.As an example,an object sliding along a table will experience a frictional resistive force but the same object falling through water will experience a viscous resistive force.