Planetary Nebulae as Astronomical Tools