Answer :

It is called the file extension or filename extension. It is a suffix that indicates the file format.
Reff
It is called the file extension and is used as an identifier to determine what type of file it is.  .txt means text file,  .doc mean Microsoft word document, etc.