Molasses is a sweetener, giving the yeast the food it needs to do its job. It's less sweet than honey, so the sweetness is more subtle, allowing the bread to be great for both sweet and savory toppings. It also gives a lovely light brown color to the bread dough.