DNA profiling is a technique used to identify individuals based on their unique DNA patterns. Gel electrophoresis is used to separate DNA fragments by size and charge, generating banding patterns that can be compared between samples. DNA profiling has applications in determining paternity and forensic investigations by analyzing these banding patterns. The process involves extracting DNA from samples, amplifying it using PCR, cutting it into fragments using restriction enzymes, separating the fragments via gel electrophoresis, and comparing the resulting banding patterns to determine matches or non-matches.