Guest posting is the practice of posting on other websites in the same topic bubble in order to boost brand awareness, reach a wider audience and build up your backlink profile. It benefits both the posted and the host site: The poster gets increased reach, and the host site gets quality content.
See also: Backlinks, Off-Page SEO, Link building