Resistors limit electrical current, protect components, use colour codes to show values, and are shown in circuit…