

When we rubbed two objects with each other,the transfer of electrons depends on the factor of work function.
Work function is the minimum energy to remove an electron from the surface of an object.
So, the electrons transfers from the lower work function object to the higher work function object.
