Please take the time and add a link to the data-sheet of the device you are asking about, if I'm taking the time to help you I expect not to be hunting for a given data-sheet.
Without the data-sheet I can tell any LM35 would have an analog output, but it could be different output topologies. TI LM35 has an output stage with an emitter follower, also a much wider range. There are several ways to use the sensor, with offset for negative ranges, 2 wire connection for practicality, directly for low part count, low Z for noisy environments, etc. You''ll need to find what's best for you.
Note that is an expensive part compared to other things that would do the job just right if the only thing you need to do is to control a fan to cool down your supply. The advantage it has is that is quite easy to connect it to an ADC and read the voltages and convert to temp with a linear relationship. If you need a comparator any silicon diode would do. We are talking over 50 times the cost, for DIY one off is ok, for production if you just need to make a comparison between the temp of your heatsink and a reference to turn on a fan, doesn't worth it.
JS