Why do people use sandbags before a flood?

It's common to see homes barricaded with sandbags in anticipation of severe flooding. Why are sandbags used and what makes them so effective?
Published: 9:49 AM MST February 27, 2020
Updated: 9:42 AM MST February 27, 2020