Question - Which class is used to retrieve data from multiple lists?
Answer -
SPSiteDataQuery class is used to retrieve data from multiple lists.
It queries the data from multiple lists across different sites in a collection.
Usually it is used in list aggregation, where list data from team sites or other subsites is collated and presented in a single interface.
It aggregates the data from SharePoint lists only while ignoring data from external lists.