why is the current the same in the resistor and the thermistor in a series circuit?

thanks :)