Genetic material of organism is deoxyribonucleic acid or DNA.
In order to cut the DNA with restriction enzymes, it needs to be in pure form, free from other macromolecules. Since the DNA is enclosed within the membranes, we have to break the cell open to release DNA along with other macromolecules such as RNA, proteins, polysaccharides and also lipids. This can be achieved by treating the bacterial cells/plant or animal tissues with enzymes such as lysozyme, cellulase and chitinase.
Hence, lysozyme and cellulase enzymes are used in the isolation of the genetic material.