Learn how gross margin and operating margin differ in assessing a company's profitability to inform investment decisions.