DNA or other wise called deoxyribonucleic acid is the building block of the life. It carries the genetic information of a cell and consists of thousands of genes.It contains the information the cell requires to synthesize protein and to replicate itself. In short ,DNA is the storage depository for the information that is required for any cell to function.
Each gene serves as a recipe on how to build a protein molecule. Proteins perform important tasks for the cell functions or serve as building blocks. The flow of information from the genes determines the protein composition and thereby the functions of the cell. DNA↓RNA↓Protein Central dogma of life
Therefore,protein require DNA and DNA require proteins for each others formation.