Laundry in a clothes dryer often becomes charged with static electricity while drying. Which of these best explains why a clothes dryer often generates static electricity?
A: Heat from the dryer charges the air and produces lightning.
B: Clothes with metal pieces conduct electricity in the dryer.
C: Electrons are transferred as clothes rub against each other in the dryer.