How can investors use the return on equity metric in company analysis?

How does return on equity (ROE) help investors assess company profitability?