Earthworms need to breathe, they have no lungs; rather, they breathe through their skin.  This is why earthworms surface after heavy rains.