An MQTT packet sits on top of the TCP layer of the OSI model network stack. The packet consists of a 2 byte fixed header, which must always be present, a variably sized header (optional) and concludes with the payload (again, optional):
Common packet structure of MQTT