The abs() function returns the absolute value of a number, it works like this:
If you are not the most gifted mathematician around and you need the some more explanation and/or visualization this vid will do the trick, it explains the concept rather well:
The vid is about 5 minutes long, imho you only need to watch the first two minutes to get it