This tool enables many older Mac computers to run macOS Sonoma even if they're not on Apple's official device compatibility list for the operating system.
OpenCore Legacy Patcher lets you install macOS Sonoma on unsupported Macs dating as far back as 2008