
A charger uses electronic switches to convert the power from an outlet. Some chargers use switches made with gallium nitride, often shortened to GaN. The material lets suitably designed switches operate very quickly with relatively low losses.
What does switching faster have to do with size?
A charger that switches faster can often use smaller magnetic parts and some smaller components for filtering. Lower losses in the switches also help manage how much heat the case has to get rid of. The rest of the design still matters.
Does GaN tell me how fast it’ll charge my phone?
The watt rating and the charging modes the device and charger both support determine that. GaN describes one part of how the power supply is built. Chargers using it can still have very different output ratings.
For more on how electronics convert AC into power for a device, see Basics of Electric Utilities 101.