A sump pump is a device installed in a basement or crawlspace to prevent flooding. It collects excess water that accumulates in a sump pit or basin, commonly located in the lowest part of the home. When the water level rises, the sump pump activates, pumping the water away from the foundation and discharging it to a safe location, such as a storm drain or a designated area. Sump pumps are crucial for preventing water damage, especially in areas prone to heavy rainfall or groundwater issues. They help maintain a dry and secure environment in basements and lower building levels.