Problem: Sentence1: Give the orders.
Sentence2: Give him my best regards.
Q: Does the term give mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: The whole of American literature.
Sentence2: Europe considered as a whole.
Q: Does the term whole mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: The application of indexes to tables of data.
Sentence2: The iPhone application VR+ connects to major social networks.
Q: Does the term application mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: To say the same thing in other terms.
Sentence2: She has a thing about him.
Q: Does the term thing mean the same thing in both these sentences?

Answer:
different meanings