Correct option is D
The
proximity sensor in mobile phones is used to detect the presence of nearby objects, such as a user's face or ear. When a user holds the phone near their ear, the proximity sensor detects this and turns off the screen to prevent accidental touches and save battery power.