Does the word "ground" have the same definition in the next two sentences?

He dropped the logs on the ground.

They gained ground step by step.
different meanings