What a passkey is
A passkey is a way to sign in without typing a password. It is based on the FIDO2 standards, which combine WebAuthn (the browser part) and CTAP (how a device talks to your authenticator). The FIDO Alliance, which maintains the standards, describes passkeys as phishing-resistant by design.
How it works
When you create a passkey for a site, your device generates a pair of keys using public-key cryptography. The private key stays on your device. The public key goes to the website.
When you sign in later, the site sends a challenge. Your device signs it with the private key after you approve with the same fingerprint, face scan or PIN you use to unlock the device. The site checks the signature against the public key it stored. Your biometric data never leaves the device, and the site never sees the private key.
Each key pair is bound to one site's domain. That is the part that stops phishing: a fake site at a lookalike address cannot ask your device for the real site's credential, because the domain does not match.
Passwords versus passkeys
A password is a shared secret. You and the site both know it, so it can be guessed, reused, leaked in a breach or typed into a fake page. A passkey has no shared secret. If a site's database is stolen, the attacker gets only public keys, which are useless for signing in.
Synced and device-bound
Passkeys can be synced across your devices through a password manager or your phone or computer maker's account, or they can be bound to a single device such as a hardware security key. Synced passkeys are easier to recover when you lose a phone. Device-bound ones keep the key in one place.
Passkeys and multi-factor sign-in
A passkey checks two things at once: something you have (the device) and something you are or know (the biometric or PIN). Many services treat it as covering what multi-factor authentication is meant to cover, though how a given service counts it is up to that service.
Limits
A passkey protects the sign-in step. It does not help if someone gets control of your unlocked device, or if your recovery method is weak and an attacker uses it instead. Keep account recovery as carefully locked as the account.
Passkeys sit beside access tokens and OAuth in the sign-in family: a passkey proves who you are, and a token is what a service hands back afterward to keep you signed in.