What part of a file name indicates the file type and program that created it?

A filename might display an extention- three or more characters fllowing a dot- that identifies the file's type and indicates the program in which the file was created.