Good is an adjective. Well is usually an adverb. With the meaning of "healthy," however, well can also be an adjective.
Baking bread smells good.
[adjective]
A perfume tester needs to smell well.
[adverb]
The goal of the operation is to make the patient
well.
[adjective]