A sump pump works to pump excess groundwater away from your home’s foundation. It most likely turns on during periods of heavy rain and/or snowmelt. An ejector pump works to pump waste and wastewater out of your home. If you have a basement with a bathroom in it, you most likely have an ejector pump working to carry the waste away.