Welcome to Hershey, Pennsylvania and to Hershey's Chocolate World.
They modeled the building to look like the actual factory (with the smokestacks)
Inside they have a free ride that explains how the factory works.
I'm sure it's a bit more complicated then how they describe it.
It is cute though - and free.