Another way to say "a coat is used for keeping warm" is "One use of a coat is keeping warm."