What is Card sorting?
Card sorting is a method in which users sort a set of topics into groups that make sense to them, so that the information architecture is built on their mental model.
In card sorting, each topic or page is written on a card and participants arrange the cards into groups they find logical. In an open sort, participants name the groups themselves; in a closed sort, they choose from predefined groups. The result shows how people expect content to be organized.
The method is most valuable before you design menus and site structure, because it builds the structure around how users think rather than how the organization is set up internally. Its natural partner is tree testing, which tests the resulting structure.