From the datasheet: "The TMP35/TMP36/TMP37 are low voltage, precision centigrade temperature sensors. They provide a voltage output that is linearly proportional to the Celsius (centigrade) temperature."
TPM36 "provide a voltage output" = Analogue device and Raspberry Pi doesn't have any Analogue pins. But with an external A/D converter you can read the TMP36 analogue value.
Here is a nice tutorial:
https://www.abelectronics.co.uk/kb/article/14/adc-pi-with-tmp36