I am a bit confused about integers and the usage of abs. Is the only purpose of abs(absolute value) in ruby is to simply make an integer positive?

Can it be compared to when you multiply a negative number to a negative number? Take for example in this case abs is a negative number, ( -5) * (abs) = 5 Abs would be say -1.