New To Apple Laptops. Can You Upgrade Them?

I am looking into buying my first Apple laptop but due to the price it will be used. Is it hard to upgrade the software on older Apple laptops? I really do not want to buy one if the new programs will not work on it? Can you add new software to a older machine?
