OS upgrades do not show in software updates. What year MacBook Pro do you have? What OS version are you using now? You posted 10.5. If you are running 10.5, you need to upgrade to Snow Leopard before you can upgrade any further.
Snow Leopard Purchase
Use the combo update to save time in Software Update.
10.6.8 Combo Updater
App Store Update for OS X Snow Leopard
After Snow Leopard, you will need to install El Capitan before you can upgrade any further.
El Capitan
Check the articles below for the computer requirements for each version.
How to upgrade to macOS Mojave - Apple Support
How to get macOS High Sierra
Sierra download
Check to make sure your applications are compatible. PowerPC applications are no longer supported after 10.6.
Application Compatibility
El Capitan 10.11 Compatibility information
macOS Sierra 10.12: Compatible Apps
Also check to make sure there is a compatible driver for your printer.
Do a backup before installing, preferable 2 backups on 2 different drives.