S&P Global interview question

What are bonds and different types?