The Doom engine represents levels internally using structures called linedefs, sidedefs, sectors, verticies, and things (meaning monsters, items, decorations, etc.). The doom engine reads levels and other data from a file called a WAD.