while doing the DNA isolation of a sample, using DNAzol reagent, I got a very straight band of DNA. Is it a DNA band or something else? The picture is attached along with.
Your DNA seems to be pure, as other co-extracted contaminants would be visible lower in the gel (dependent on the contaminant of course). The fluorescence in the well itself could just be excess DNA. But from the looks of it it does not seem degraded, or contaminated.
Only pure form of DNA is observed to be having high intensity if any impurities are present,as most of the impurities are proteins(in case of DNA extraction) which are bigger in size of DNA which cover up the DNA and decrease the intensity as there are brighter bands it can be assumed as pure DNA without contaminants like other proteins.
I never run genomic DNA on a gel after extraction I go completely off the numbers I get from spectrophotometry. If you are worried about contamination of DNA because your experiments are not working do some 16S PCR (If you are using bacteria) and if that doesn't work try again. If it does work then you will want to sequence that PCR product because it's possible that your culture was contaminated.
According to your picture, I agree with the other comments stated that your DNA band seems good. I think, however, you also should consider about your DNA marker size loaded on left line and how long your (base-pairs) DNA target. Based on this information, you can make sure more precisely whether the DNA band is your DNA target or not. Hopefully, this information gives your more understandings.