BNY interview question

Describe how bonds work.