Binary files are compact. Binary format can help you save space. Consider that you want to store the number 1110000. Storing it in a text file, will use 7 characters. if each character is 1 byte, it will take 7 bytes. (Unicode will take even more)
Storing same number in binary file as int32, will take 4 bytes.
Other option such as parquet format even take less space and faster to upload.
AWS recommends Parquet format because “the Parquet format is up to 2x faster to unload and consumes up to 6x less storage in Amazon S3, compared to text format.
SQL is declarative language. You describe output you want. Underlying software determine plan and execute and get result. You only specify condition, grouping, sorting order etc. These are related to outcome.
Python uses imperative paradigm - you specify detail steps needed to retrieve data.
HTML is designed to display data - It focus on how data looks specifically in web pages
XML is designed to carry data - It focus on data
XML tags are not predefined like HTML tags are