What is Yield to Maturity?

Yield to maturity has an associating with bond investing. Its a fixed interest security or bond such as gilts, the IRR earned by an investor who buys the bond today at the market price, assuming the bond will be held until maturity.