Imagine you're learning to throw darts, blindfolded.
Your first throw misses badly. Someone tells you: "too far left, and a bit low."
You adjust your aim slightly and throw again. Still off, but closer.
You repeat this, again and again, each time nudging your aim based on how wrong the last throw was.
That is almost exactly how a machine learning model learns.