system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What is the difference between resistance and impedance?
gpt
Resistance is the purely electric effect of resisting current flow, while total impedence is the combination of resistance, and the contribution of magnetic inductance and capacitance in an AC system that resists current flow.

They have the same units, but DC only uses resistance, while AC uses resistance and impedence, depending on what you need to know.