Resistors are used in electrical circuits to regulate current flow and keep components safe. Additionally, they enable voltage dropping, which…