macOS 10.14 Mojave System Requirements
It will run on these machines:
MacBook (Early 2015 or newer)
MacBook Air (Mid 2012 or newer)
MacBook Pro (Mid 2012 or newer)
* If your machine is older than these models we advise upgrading to 10.13.6 "High Sierra" to maximize the support window on your older machine. Remember Mac upgrades are free.
See https://www.apple.com/macos/how-to-upgrade/ for upgrading to Mojave.
See https://support.apple.com/en-us/HT208969 for upgrading to High Sierra
** If you have an even older machine that won't run High Sierra we advise you at the very least upgrade to 10.11.6 El Captain, you can find details at https://support.apple.com/en-us/HT206886
Remember Apple has officially deprecated support for all Mac OS X and macOS versions below 10.11.6