Shear strength is the maximum stress a material can withstand before failure occurs due to sliding forces acting parallel to its surface.