DOT files contain instructions that specify nodes, edges, relationships, and visual attributes of graph elements. These files are primarily used with the Graphviz software to generate graphical data visualizations, such as flowcharts, conceptual networks, and data structures.