WEB is programming language which is designed to force the programmer to write the documentation during programming. E.g. Donald Erwin Knuth has written his typesetting program Tex in WEB.
The tools tangle and weave are used to produce the ready for compile source code in Pascal and on the other hand the documentation in TeX.
This package is not required for the use of TeX/LaTeX.