Functional and space-saving furniture