Dioxane is a non-aromatic compound because it lacks a conjugated π-system and does not follow Hückel’s rule.
On the other hand, thiophene, pyrrole, and isoxazole are aromatic due to the presence of conjugated electron systems.
Aromaticity arises when delocalized electrons form a stable, cyclic structure.