The Foam sponge acts as mechanical filtration, trapping detritus and other large particulates. It is your first stage of filtration, and its use will help extend the life of chemical filtration media.
I would definitely recommend adding these little guys to your tank. They are very playful and entertaining. My three were very healthy and quickly adjusted to my tank.