The old one is removed by unscrewing the plastic nut and then dropping the sensor out downwards and through the inspection opening nearby. The plastic nuts are notorious for cracking, I've replaced mine with a metal nut. The old sensor seals against the inside of the tank with an o-ring.