All vertebrates, including fish, have endoderm, mesoderm and ectoderm in different parts of their tissues. Which organ or organ part is produced by which embryonic cell layer is determined genetically, but they pathways are remarkably similar in all vertebrates that have been studied.