Explain how the structure of DNA enables it to perform its function.