What is CSV?
CSV is the least glamorous and most durable data format there is - rows of values separated by commas, readable by every spreadsheet and database ever written. Its subtleties are all about quoting: a value containing a comma has to be wrapped, and a quote inside that has to be doubled.
What is XML?
XML is the verbose, strict ancestor of most structured data formats, and it is still what enterprise systems, publishing pipelines and older APIs exchange. Tabular data in XML is usually a repeating row element with one child per column.