Does the iPhone 8 feature face recognition?

No, only the iPhone X ships with Face ID. Unlike the iPhone X, the iPhone 8 and iPhone 8 Plus still include a physical Home button and Touch ID. Face ID allows iPhone X users to unlock their device since it does not ship with Touch ID or a physical Home button.