State the reason why fresh water is passed through filter beds containing sand and gravel during the purification process.