iRacing can only run on the Windows operating system 10 and 11.
iRacing can not run on the Mac operating system.
You can install Boot Camp on your Mac OS that you would then install Windows OS onto.
Learn more here: https://support.apple.com/boot-camp