Hello amalia282,
Welcome to Apple Support Communities.
We understand that you reset your MacBook Air to factory settings and unable to install macOS Monterey. We are happy to help.
The MacBook Air early 2015 is compatible with macOS Monterey. Please see the computers that are compatible with macOS Monterey here: macOS Monterey is compatible with these computers - Apple Support
You can identify your Mac model using the steps here: Identify your MacBook model - Apple Support
"Your Mac provides several tools to help you identify it. The simplest is About This Mac, available by choosing About This Mac from the Apple menu in the upper-left corner of your screen. The other is the System Information app. Learn how to use these tools to identify your Mac."
Let us know if you have further questions.
Take care.