It needs to do both usually. Your [default] browser will download a file to the /sdcard/download/ folder (as Brian Denny pointed out) and then open it from there. It can open it directly from the browser, but it will also be stored on your device.