It can be divided into the foregut, midgut and hindgut