how two factor authentication works

How two factor authentication works