We can better help you if we knew WHICH Macbook Air sub-model your have and what macOS version it is running. We need them to determine if you have an upgrade path available. Both are quickly available from "About this Mac..." Example:

⚠️ For security reasons, please DO NOT post the serial number.
Older Macs cannot run the latest macOS versions so we need to know those details.
If you get the onscreen message shown in this Apple article:
If your Mac says that a software update is required to connect to iPhone or iPad - Apple Support
all you need to do is click Install. It onlypatches iTunes to be compatible with newer versions of iOS and iPadOS. It is a small and fast download that will not change your macOS version.