When the smoker is puffed in close proximity to the entrance on the bee hive, the smoke enters the hive and triggers a reaction from the bees.
Image: istockphoto.com there are lots of methods to remove bees, from https://jadataew737776.amoblog.com/getting-my-honeybee-removal-ellijay-to-work-51035284