When you buy a bond, you're lending your money to a company or a government (the bond issuer. In return, the issuer pays you interest.) On the date the bond becomes due (the maturity date.) On that date, you get your money back without any penalty.
I hope this helps! :)