* Noun: When referring to the quality or intensity of light. Example: "The brightness of the sun was blinding."
* Adjective: When describing something as bright. Example: "The room was filled with bright, cheerful colors."
It's important to look at the context to determine which part of speech it is.