A file with an executable file extension means that the file format supports a capability to perform an automated task. This is in contrast to other file formats that merely display data, play a sound or video, or otherwise present content without executing a system command.
Executable file types in Windows and Linux
If you open a file with one of these file extensions, your computer may perform one or more of the operations programmed into that file without your permission.
To put it even more simply, these files belong to programs, scripts or program extensions and plug-ins. They are meant to run and do things on your computer, but you can’t be sure what exactly they are running or doing. That’s why it’s always crucial to run them only if they come from a trusted source or website.
Such operations can be harmful if, for example, you run an executable file infected with a virus that you received by email from someone you do not know.