1 Face ID on iPhone 13 relies on a proximity sensor and ambient light sensor that are part of the screen's flex cable.
“the proximity sensor this is what senses whether or not you have the phone to your face or not so it knows to turn the screen off and the ambient light sensor this is going to be what helps the phone figure out how bright is it outside”