Music acoustics

A guitar string is plucked and then left alone. Why does its sound generally fade?