Another way to say "a blanket is used for keeping warm" is "you can use  blanket to keep warm"