This article explains what SWF files are and how to open different types of files.
fastest way to run swf files with Flashpoint
A .SWF file (pronounced "Swiff") is a Shockwave Flash Movie file created by an Adobe program that can contain interactive text and graphics. These animation files have long been used for online games played in a web browser.
Although they are probably no longer used anywhere since Flash is no longer supported, a SWF file can be an interactive game, a non-interactive advertisement, or a tutorial.
While you can still find SWF files online and download many games in this format, you'll be hard-pressed to find a program that will let you play the game or view the file.