The clicking sound you hear when trying to start the car is the starter solenoid, which is caused by a bad battery. The voltage may be okay under no load conditions, but not okay when loaded by the starter motor. This is due to high internal resistance in the battery. An auto parts store (Pep Boys, etc.) can run a load test to determine battery health.