Sofa bed mattresses are quite thin and flexible, as they have to fold up inside the couch when not in use. The typical sofa bed uses a folding metal frame attached to the couch. The mattress stays on top of the frame. When you're done, you fold the end of the bed over, then lift and lower the frame inside the sofa.