Question: what the difference between physical education and gym class?
Answer: PE refers to any kind of sport. Gym means gymnastics. So your PE lesson could be gym, swimming, table tennis, football or whatever. Whereas in AmE "gym" means gymnasium.