How is DNA tested and why?

by DNA fingerprinting method , DNA-DNA hybirdization or DNA sequencing.

to know the sequence of DNA