Definition
An authenticator app creates time-based one-time passwords, usually six digits that change every thirty seconds. You link it to an account by scanning a QR code once. From then on, the app and the service calculate the same code from a shared secret and the current time.
Authenticator apps work offline and are not affected by mobile network problems, which makes them more reliable than text messages. They are also not exposed to SIM-swapping attacks in the way that text codes are.
Save the backup or recovery codes that the service shows during setup. If you replace your phone, transfer the authenticator data carefully or use the recovery codes, because otherwise you can be locked out of the account.