webauthn is the in-browser API that allows using existing U2F keys, new "FIDO2" keys, built-in "secure elements" / TPMs, and whatnot.
FIDO2, according to https://fidoalliance.org/fido2/ , is the overall project that includes both WebAuthn and CTAP — the latter being the new protocol for talking to the keys.