Login using passkeys

What replaces the password, where the key goes and how to log in after losing your device.