Is drive used to mean the same thing in the next two sentences?

You drive nails into wood with a hammer.

We drive the turnpike to work.
different meanings