Husqvarna is an idea that's been around for a long time. As you're probably aware, it started out making guns (for heaven's sake, the logo is a rifle sight), even supplying the Swedish military during part of its history.
Over time, like many companies do, it got acquired by other companies and shifted focus. After being around for well over a century, you'll find the Husqvarna name on motorcycles, sewing machines, and chainsaws. While they're not all the same company in 2023 (or owned by the same parent company, as is the case with Yamaha), they're all different twisty branches off of the same original Husqvarna tree.