Question: Sentence 1: I made many mistakes in my youth, but learned from them all.
Sentence 2: Make the most of your youth, it will not last forever.
Does youth mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: The extension of 'satellite of Mars' is the set containing only Demos and Phobos.
Sentence 2: A text file will have a file extension of .txt.
Does extension mean the same thing in these two sentences?
============
Answer: different meanings

Question: Sentence 1: He hoped for a new life in Australia.
Sentence 2: He could no longer cope with the complexities of life.
Does life mean the same thing in these two sentences?
============
Answer:
different meanings