The losing team could not hide the dejected look on their faces as they walked back to the locker room.

The word dejected functions as
in this sentence. The word
has a similar meaning.

The word "dejected" functions as an adjective in this sentence. The word "disheartened" has a similar meaning to "dejected".