Segments: Transport layer (TCP/UDP) = transport header + data (from upper layer)
Packet: Internet layer (IP) = network header + transport header and data (both transport and data from upper layers)
Frames: Network layer (Ethernet) = frame header + network , transport header and data (from three upper layers).