Water Pump Intake Outlet....Valve?

chances are a thermostat grenaded once upon a time and they didnt fish all the parts out...