Lighthouse can be run in Chrome DevTools, from the command line, or as a Node module. When giving Lighthouse a URL to audit, it runs a series of audits against the page and then generates a report on how well the page did. From there, the failing audits can be used as indicators on how to improve the page. Each audit has a reference doc explaining why the audit is important, as well as how to fix it.