They communicate the videos spoken content as well as atmospherics (sound effects that enhance the story). Captioning displays the spoken dialogue on the screen in text and includes the speakers name plus any relevant audio effects.
i.e.[Shelly]Get off the road! [honks horn]
In order to create those captions, we go through precise procedures to accurately obtain verbatim transcription of all the dialogue.