Another way to say "a blanket is used for sleeping." is "a blanket is used to cover you when sleeping"