Macs have always been able to run any OS version with support for that machine- so you can revert to any version starting with the one it shipped with. In the case of this ancient MacBook (2009) it's version 10.5.6- I'm running El Capitan, the last officially supported version. The elder Mac Pro (2006)- running Lion, can go back to Tiger 10.4.4. Newer MP (2010)- running Mojave (& Big Sur on hacked install, haven't tried Monterey yet, but it'll work) can go back to Snow Leopard.