Older MacOS hardware is often of relevance for development or maintenance purposes. Like Windows, MacOS requirements increase over time. If the Apple computer is too old for a currently supported MacOS version, consider installing Linux, which normally works very well on Apple computer hardware. Apple maintains a list of no longer supported Apple hardware.
Plotted data source is Wikipedia and Apple.