Blueprint: DNA is like a blueprint for building a house. It contains all the instructions necessary to create a living organism, just as a blueprint contains all the instructions for building a house.
Recipe: DNA is like a recipe for a cake. It contains all the ingredients and instructions needed to create a living organism, just as a recipe contains all the ingredients and instructions for baking a cake.
Computer Code: DNA is like computer code. It contains a sequence of instructions that tell the cell what to do, just as computer code contains a sequence of instructions that tell a computer what to do.
Library: DNA is like a library. It contains all the information necessary to build and maintain a living organism, just as a library contains all the information necessary to build and maintain a society.
Genetic Cookbook: DNA is like a genetic cookbook. It contains all the recipes for building and maintaining a living organism, just as a cookbook contains all the recipes for making food.
Language: DNA is like a language. It uses a four-letter alphabet (A, T, C, G) to encode information, just as a language uses a set of letters and rules to encode meaning.
The best analogy for you will depend on the specific aspect of DNA you want to illustrate.