A multi-purpose system for a bed is disclosed. The system may include a number of vertically movable lifting members that are parallel and spaced-apart elongated parts transversally connected to the bed. Furthermore a mattress assembly that has spaced-apart transversal accommodating spaces thereon that are sized to receive the corresponding movable lifting members therein, and an actuating mechanism coupled with the movable lifting members to vertically move the lifting members between a lowered position and a raised position.