Question: Sentence 1: He walked to school every morning.
Sentence 2: The school was built in 1932.
Does school mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: Give thought to.
Sentence 2: I gave two sons to the war.
Does give mean the same thing in these two sentences?
============
Answer: different meanings

Question: Sentence 1: When is your baby due?
Sentence 2: The baby of the family.
Does baby mean the same thing in these two sentences?
============
Answer:
different meanings