Gimp's native file format is .xcf - this will store layers and masks etc. separately and allows you to save a work in progress. You can also save as all the common image types. (and quite a few not-so-common types too!)

Check http://manual.gimp.org/manual/GUM/GUM.html for all your Gimp questions.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.