Another way to say "an icebox is for keeping things cold" is "To keep things cold, you can put them in an iceebox."