Your sump pump is the thing standing between a dry basement and a flooded one. It sits in a pit that collects groundwater and pumps it out when the level rises. Replacing a failed pump is straightforward -- swap the unit in an existing pit with an existing discharge line. Installing from scratch (pit, pump, discharge) is bigger but doable for a confident DIYer. Two critical decisions: the right pump (submersible vs pedestal, HP, switch type) and routing the discharge so water goes away from your foundation instead of seeping right back.