What is the proper use of nofollow?

Why does the use of nofollow links matter?

How can I check for nofollow links?