Picture a car's odometer. As you drive it only goes up: a later moment always shows a larger reading, so the reading is an increasing function of time. A burning candle's height only goes down, a decreasing function. Both are monotonic, because neither ever reverses. The car's speed, which rises and falls all through a trip, is not.
In symbols, f is increasing when a<b always gives f(a)<f(b), for every pair of inputs, not just neighbouring ones. For f(x)=2x+1, any a<b gives 2a+1<2b+1, so it increases everywhere. For a smooth function the quick test is the slope: positive everywhere means increasing, negative everywhere means decreasing.
The words "throughout its domain" matter. f(x)=x2 rises for x>0, but f(−3)=9 and f(−1)=1, so it falls for x<0. It is monotonic on each half but not on all real numbers, because the graph turns at 0, and that turn is why x2=9 has two solutions, 3 and −3.
Two nearby ideas say nothing about direction. A positive function such as x1 for x>0 has positive values yet decreases. A function with flat stretches, like postage that is priced in weight bands, never goes down but sometimes stays level; it is monotonic only in the non-strict sense, and one price can come from many weights.
Think of it like this. A monotonic function is a ratchet: it can click forward, fast or slow, but never back. Because it never returns to an earlier height, each height is reached at only one moment, which is why it can be undone. A ratchet can also sit still between clicks, which matches non-strict monotonicity, where an output can repeat.
Core idea. A monotonic function only ever rises (or only ever falls) across its entire domain, never reversing.