xDB is Sitecore's customer experience database that centrally stores experiences like website visits, phone calls, and product purchases. It consists of a processing server that collects and processes this experience data which is stored in a reporting database. The API allows you to collect additional external data like membership details and call center interactions, process it, and run reports on the centralized experiences.