A tweet when embedded contains the images, videos, and other parts of the tweet. It can include two parts – the HTML code or snippet and the JavaScript.