The answer is; they provide positional information in the embryo
The hox genes are responsible for determining the head and tail ends of the embryo, and ensuring that the right embryo segments develop appropriately and with the right appendages. Without the hox genes, the embryo (and consequently the body) would become unplanned and abnormalities would occur such as having legs in the antennae section in drosophila sp.