Why did the dentist use a hammer on me?

I had a tooth extracted, and the dentist remarked that it was "rather difficult". He at one point used a hammer and I think a chisel, though he didn't explain what it was for. I was wondering why a dentist might use a hammer and chisel.