Resistors are used for:
– Limiting current in electric circuits.
– Lowering voltage levels in electric circuits (using voltage divider).
– As current provider.
– As a sensor (e.g., photoresistor detects light condition, thermistor detects temperature condition, strain gauge detects load condition, etc.)
– In electronic circuits, resistors are used as pull-up and pull-down elements to avoid floating signal levels.