Jean Leray invented sheaves while imprisoned during World War II, later developed by Grothendieck into a fundamental tool in modern algebraic geometry. Sheaves are mathematical structures that attach 'stalks' to underlying objects, allowing sections to be glued together seamlessly, with applications ranging from simple piecewise linear functions to complex algebraic systems.