Resistance (R) of an electrical conductor is its opposition to the passage of current. Resistance is measured in ohms (Ω). Electronic components that are designed to have a specific resistance are called resistors. Resistor maintains a constant relationship between the voltage across it (V) and the current through it (I). This relationship is represented by Ohm's law:
I = V / R
Electrons passing through a resistor lose energy. The lost energy is dissipated as heat.
Flip the switch to apply either voltage or current to the resistor. Adjust the applied quantity and the resistance note the change in the other quantity. As you play with this circuit you will gain more intuition about Ohm's law.