Hi there,
You can not connect the sensor to raspberry directly. this is analog sensor and the raspberry pi does not include the ADC function. you can add the grovepi+ or grove base hat for raspberry pi, which include the adc functions. you can connect to any analog port of the grovepi+/grove base hat for raspberry pi. thanks.
you can refer to wiki page for more detail info.