Text files are the files with .txt extension. They are the files that are basically not executable and contain just characters (letters, numbers and punctuations) without any special formatting. They are also called ASCII files.
Text files can be defined in different formats such as the ASCII for cross-platform use and can be read by most software applications and as a matter of fact source codes of programming languages (such as JavaScript, PHP) are written in text files but later changed to their corresponding extensions (.js and .php).
Sites like Face.book are full of valuable data for people who use social engineering to steal your identity on social media. You should therefore avoid sharing information that's used to verify your identity,