Electrical resistance is a measure of the degree to which an electrical component opposes the passage of current. It is the ratio of the potential difference (i.e. voltage) across an electric component (such as a resistor) to the current passing through that component.
Resistance is thus a measure of the component's opposition to the flow of electric charge.