A data file is any file containing information, but not code; it is only meant to be read or viewed and not executed. For example, this web page, a letter you write in a word processor, and a text file are all considered data files.
Programs may also rely on data files to get information. For instance, a data file may contain the settings of a program that tell the program how to display information.
Executable file, File, Software terms