It answers the questions: How much product will be produced from a given amount of reactant? How much reactant is needed to produce a specific amount of a particular compound?
Do not assume that mass or mole A is always the reactant and mass or mole B is always the product. These variables depend on the situation, so read the word problem carefully.