In XQuery and XSLT, constructors are functions that convert data from one type to another. For example, they can convert strings to numbers, dates, or other atomic types. The term 'constructor' in this context refers to type conversion, not object instantiation as in object-oriented programming.