TLD stands for Tag Library Descriptor, an XML file that describes a custom tag library in JSP. It contains metadata about the tag library including tag names, attributes, validation rules, and tag handler classes. The descriptor file enables JSP containers to process custom tags correctly by providing the necessary mapping and validation information.