Homeotic genes specify the anterior-posterior axis an segment identity during early development of metazoan organisms. They are critical for the proper placement and number of embryonic segment structures (such as legs, antennae and eyes).