Here's how:
Noun:
* "The darkness was so thick, you could cut it with a knife." (Darkness is the subject of the sentence.)
* "She was afraid of the darkness." (Darkness is the object of the preposition "of".)
Adjective:
* "The room was dark." (Dark describes the room.)
* "He wore dark clothes." (Dark describes the clothes.)
Let me know if you'd like examples of how "darkness" is used in a sentence!