Question: Here is one sentence: It made a dent in my bank account.
Here is another sentence: The crash produced a dent in the left side of the car.
Does the dent mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: A ball of fire.
Here is another sentence: A ball of wool.
Does the ball mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: She had to pay the penalty for speaking out rashly.
Here is another sentence: He paid her off the books and in kind where possible.
Does the pay mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Leave the young fawn alone.
Here is another sentence: Leave the flowers that you see in the park behind.
Does the leave mean the same thing in the two sentences?

Answer:
the same meaning