A .exe file can be a virus, but that is certainly not true for all of them. The majority are safe to use or even necessary for your Windows system to run. In cases when in doubt, you can run a full system AV scan or you can upload the file to VirusTotal, a service that analyzes suspicious files and URLs.