Another way to say "A sock can warm a foot." is "My feet were cold, so I put socks on my feet  to get warmer."