Describe the function of DNA in organisms.