The oil level sending unit is located near the lip of the oil pan by the rear of the engine. Replacement will involve draining the oil and removing the pan in order to gain access to the unit.
While you are at it, replace the oil pan gasket (probably leaking anyway), and the o-ring for the sending unit...
2009 ML350 (84K) - Family vehicle
2001 CLK430 Cabriolet (71K) - Wife's car
2005 BMW 645CI (124K) - My daily driver
2012 Mustang V6 (60K) - Daughter's car