What is Confinement and Bounds in programming?

I don’t understand deference between confinement and bound in programming? I always understand these two as same definition..

Could you please explain me someone,

  • what is bound and confinement?
  • What is deference between these two?