Molasses that you find at the grocery store is actually a product of the sugar cane industry. There IS such a thing as beet molasses but good luck finding it; it's for industrial scale farming (feed) or alcohol production typically.
Maple syrup is the one from trees, and that's the one that contains some pretty unusual sugars that I don't feel like testing out on my plants- plus it's outrageously expensive.