The main function is to hinder the flow of current, which is used in current limiting, shunting, voltage reduction, voltage division, load and capacitor matching filters and impedance matching. Functions in digital circuits include pull-up resistors and pull-down resistors.