Ping works at the application layer of the tcp ip model. Ping does not use tcp ip transport layer protocols like TCP or UDP. It uses the network layer protocol ICMP. So Ping does not have a TCP or UDP header. This can be observed in the wireshark capture files.
When a ping is issued is by the user on 192.168.1.4 (source) to 192.168.1.1 (destination), an ICMP request is sent to the destination. This is denoted by the Type value 8. The data in the ICMP packet is abcdefg—–. This value is specific to the sending operating system /device.
On receipt of the ICMP request, the destination would prepare an ICMP ping reply and send it to the source. The type value is denoted as 0 for the reply.