XML data binding allows XML data to be represented and manipulated as objects in an object-oriented programming language. It provides a mapping between XML schemas and object-oriented types, allowing XML data to be deserialized into objects and objects to be serialized back into XML. This mapping is done through an XML-to-object mapping tool. XML data binding facilitates working with XML data in an object-oriented way by enabling operations like totaling salaries for employees to be implemented using object-oriented methods rather than requiring the use of XML query or transformation languages.