If dat is an extension, it is somewhat a data file, but don’t know what the data is, because “dat” has no fixed format.
In unix you can use “file command”. Since this command actually judges by looking at the contents of the file, it gets a little better answer.
data1.dat
data1
[vagrant@localhost app]$ file data1.dat
data1.dat: ASCII text, with no line terminators