When it gets cold most communities will open up shelters in places such as churches where homeless people can come in and stay warm if they want too.
Some homeless people avoid homeless shelters though and will do there best to stay warm by drinking warm drinks, bundling up in blankets, and sleeping bags and some huddle together with other homeless people or stay near buildings that have vents that put out warm air.
Sadly some don't live through the freezing weather.
I'm thankful to have a home with a central heating system where I don't have to worry about being frozen.