The expense ratio is what a fund charges each year to run itself: management, administration, custody and similar costs. It is shown as a percentage of the money in the fund, and it is taken from the fund's assets rather than billed to you, so the returns a fund reports are already after this cost.
Because it is charged every year, a small difference adds up over long periods. Two funds that hold similar things and behave alike will usually leave the cheaper one ahead over time, all else equal.
Compare expense ratios within the same category. An actively managed small-company fund and a broad index ETF do different jobs, and their costs are not like for like. Loads and other one-off charges are separate from the expense ratio and are listed on a fund's purchase information.
A research explanation, not investment advice.