A resistor is a passive electrical component with the primary function to limit the flow of electric current.
In almost all electrical networks and electronic circuits they can be found. The resistance is measured in ohms
There are many different types of Resistor available which can be used in both electrical and electronic circuits to control the flow of current or to produce a voltage drop in many different ways. But in order to do this the actual resistor needs to have some form of “resistive” or “resistance” value.
So to overcome this, small resistors use coloured painted bands to indicate both their resistive value and their tolerance. These coloured painted bands produce a system of identification generally known as a Resistors Colour Code.
A capacitor (originally known as a condenser) is a passive two-terminal electrical component used to store energy electrostatically in an electric field.
Capacitors are widely used as parts of electrical circuits in many common electrical devices. This is measured in terms of Farads.