Another way to say "a closet is for keeping old clothes" is "Old clothes can be kept in a closet."