The engrailed gene is a segment polarity gene in Drosophila melanogaster that plays several important roles during development. It defines the posterior region of each embryonic parasegment, establishing anterior-posterior polarity. The engrailed gene also helps pattern the brain by defining borders between regions and guiding neuronal axon growth. Comparisons of engrailed DNA and protein sequences across species show it is conserved and related genes can be found in vertebrates as well.