Noun: A ledge is a narrow shelf or projection.
* Example: "He stood on the ledge and looked down."
Adjective: "Ledge" can describe something that is like a ledge, or that is situated on a ledge.
* Example: "The ledge window offered a beautiful view."
The part of speech depends on its function in the sentence.