Card sorting is a technique used to understand how users perceive the logical relationships between elements of a website. It involves having representative users sort cards with elements into groups. The results are then analyzed to inform the site structure. There are open and closed card sorting methods, with open using unlabeled cards near the start of a project, and closed using labels near the end. Free and open source card sorting tools exist for various operating systems to facilitate the process and analysis.