I think it is your starter. Usually when it seems like the battery is dead, but you hear that clicking noise, it is the starter.
Here's a trick I learned. Grab a hammer, locate the starter, now give it a good whack. Then see if the car will start.
Honest it's a trick some guy friends taught me.