Closet

enclosed space, cabinet, or cupboard in a house or building used for general storage or hanging or storing clothes

A closet is a small room in which people put their clothes. It is usually not bigger than a garage or a basement. It is not a wardrobe, it is a room. Some people put things inside it other than clothes.