They are in the same kingdom and phylumn, and both do mostly the same work. Yeasts give off more byproducts than molds, CO2 and solids. Molds, I'm not totally sure, are normally more invasive and aggresive in their attack and aren't normally as useful as yeasts, excluding of course, penicillen and the like.