* Adjective: Describing something that is close in distance.
* Example: "The nearby park is a great place to walk."
* Adverb: Modifying a verb, adjective, or another adverb to indicate closeness in distance.
* Example: "The store is located nearby."
* Prepositional phrase: Used to show location.
* Example: "We live nearby the beach."
To determine the correct part of speech, you need to look at how "nearby" is used within a specific sentence.