I am confused I thought that all data stored in storage are in binary. may I please know what’s the difference between text and binary data?
You are right that all data is stored as binary. That is how computers work. A small subset of binary files are called text files, as they only contain certain binary sequences which represent text characters. This makes the text files more restrictive, but also more robust as a small corruption in a text file won’t make it unusable, where as with binary it can.
I hope that make sense.