Segments are a crucial part of an EDI document, representing collections of related data such as addresses or sale terms. Each EDI segment starts with an identifier followed by multiple data elements that together convey meaningful information. https://ihateedi.com/what-comprises-an-edi-document-or-a-transaction/