Structure determines function . If people dont have the enzmes to digest lactose they cant digest it and if they dont have the DNA that codes for the enzymes they wont produce them since enzymes are proteins and proteins are produced by transcibing and then translating strands of DNA.