AirTags will work with iPhones with iOS 14.5 or later, this means any iPhone that is older than a 6S is not going to work.