Sponge is solid . But waht happens sponge is consisting of small porosities or minute pores in which air is trapped . on presssing the air is expelled. it is still considered as a solid because it has a definite volume and shape does not changes unlesss compressed. Now sponge is polymer and flexible.