Some parts are the same/similar: crankshaft, cylinder/piston, clutch, carburetor, muffler, various fasteners and smalls.
The crankcase is not the same and very difficult to convert into a chainsaw. Intake tract is not the same either and the air filter
system is quite a bit different