what does 'throw in the sponge' mean?

Can anyone tell me what does ‘throw in the sponge’ mean?

.
Give up; concede.
.

Is it from the world of boxing?