Electrons can be transferred between objects due to their differing electron affinities. Charging by friction occurs when electrons are transferred between two rubbing objects, such as between hair and a rubber balloon. This leaves both objects with an imbalance of charge - the hair loses electrons and becomes positively charged, attracting the now negatively charged balloon. Charging by induction can also occur when a charged object is brought near a conductor without touching, inducing a charge in the conductor through their interaction.