A cue rack is used to store and organize pool cues when they are not in use. It helps prevent damage, keeps the cues in proper alignment, and adds convenience to access them during gameplay.