a hide-a-bed sofa is one whose cushions can be removed, the support pulled up and out.  It unfolds to reveal a mattress, which was also folded inside the sofa, and is  now a bed.