Noun:
* Meaning: A deep hole in the ground, especially one that is dug to get water or oil.
* Example: The villagers drew water from the well.
Adjective:
* Meaning: In good health, or in a satisfactory condition.
* Example: I'm feeling well today.
Other uses:
* Adverb: *She did well on the test.*
* Interjection: *Well, I'm not sure about that.*
To determine the part of speech, you need to look at the context of the sentence.