There is an important difference between an excel file and a CSV file. The CSV format is a plain text format where the values are separated by commas (Comma Separated Values). On the other hand, the XLS is an Excel Sheets binary file format. It holds information about the worksheets in a file, including the content and formatting.