Through dedicated fieldwork, advanced technology, and sometimes sheer luck. Researchers spend years studying specific regions or animal groups, often uncovering species previously unknown to science.