Forensic science
Samples commonly taken include fingerprints. People also look for other things that could be used, for example a few hairs (or pieces of skin) and autopsy if dead. Samples like hair or skin can be use for DNA testing, which allows to tell the gender of the person the hair is from, amongst others.