2019 BMW 640i xDrive Gran Turismo:Accelerator Pedal Sensor
Some info about Accelerator Pedal Position Sensors (APPS):
This sensor is used to on your vehicle in place of a traditional throttle cable. Mounted on your gas pedal, it measures the driver's input on the gas pedal.