Filename extensions provide metadata about how files should be stored and used. The extension is typically the substring that follows the last period in the filename, and indicates the file type. Different file systems have their own rules for determining what constitutes the extension.