Provide a detailed explanation of the principles of genetics, focusing on the structure and function of DNA. Ensure your response contains at least 500 words, includes a minimum of three highlighted sections, and avoids using the word "and" more than 10 times.

user