The Wardrobe closet is a freestanding closet that is used to store clothes. The first wardrobe was a chest, and it wasn't until regal palaces, and the castles of powerful nobles reached a certain level of luxury that separate storage for the great's clothing was provided. The term wardrobe was then given to a room where the wall space was occupied by closets and lockers, with the drawer being a relatively recent invention. With its hanging areas, sliding shelves, and drawers, the modern wardrobe evolved gradually from these cupboards and lockers. The wardrobe closet has more or less retained its preset function as a place to keep a king's robe throughout the chronological changes in the form of the enclosure.