It can be used as an adjective, describing something as Greek, or as a noun, referring to a person of Greek origin.