Why do beekeepers use smoke?

Beekeepers need to get inside their hives to perform maintenance, treat for mites, feed their bees, clean up propolis, wax, or take frames out to extract. Without smoke, it can be an uncomfortable experience!