It's a charcoal canister. It removes spent fuel vapors, returns them to the tank where they condense back into liquid gasoline. It helps keep cool fresh fuel at the carburetor. It's not that hard to figure out.
Just because something is emissions equipment, doesn't make it all bad.