A recovery key is an optional security feature that helps improve the security of your Apple Account. If you lose access to your account, you can use your recovery key to reset your password and regain access.| Apple Support
An account recovery contact can help make sure that you always have access to your account, even if you forgot your Apple Account password or device passcode. Learn how to set up a recovery contact on your iPhone, iPad, or Mac.| Apple Support