There are several reasons why you might need to convert an EXE file to a DMG file:
If the Windows app is simple, there is likely a free, native Mac alternative available on the Mac App Store. Which version of macOS are you currently using?
installer because they are built for entirely different operating systems.