The absolute value of a number is its distance from the origin on the x-axis. It's always non-negative. If x<0, then ∣x∣=−x. If x≥0, then ∣x∣=x.
For ∣−8∣, since −8<0, the result is −(−8)=8.
For ∣12∣, since 12>0, the result is simply 12.
For ∣0∣, the result is 0, as it has no distance from itself.
Think of absolute value as a 'positivity machine.' It doesn't care if you have 50 dollars or a debt of 50 dollars, it only sees the amount: 50! The distance from zero is always positive. This is why the absolute value of any non-zero number, whether it's −10 or 10, always comes out as a positive value.