By default macOS hides file extensions, which can make it hard to distinguish between file types. Enabling this shows .pdf, .png, .txt, etc. for every file in Finder.
This is especially important for developers and anyone who works with multiple file types regularly.