How is the value of a bond determined?

How is the value of a bond determined?