The output voltage of an LM35 changes linearly with a change in temperature whereas in a thermistor, its resistance changes non-linearly with temperature. To use a thermistor with Arduino, you need an additional resistor.