* Friction: The rubbing action creates friction between the comb and your hair.
* Electron Transfer: This friction causes electrons (negatively charged particles) to be transferred from your hair to the comb.
* Charge Imbalance: As the comb gains electrons, it becomes negatively charged. Your hair, having lost electrons, becomes positively charged.
* Static Electricity: This separation of charges is what we call static electricity.
The Result: The opposite charges attract, leading to the comb attracting small pieces of paper or your hair standing on end.