Another way to say "a razor is used for shaving" is "a good tool for shaving  is the razor"