Why are bunk beds called bunk beds?

because the concept of bunk beds is that you are bunking with another person or even just another bed