In simple terms, GP is writing an article and publishing it elsewhere. To be approved, the article must comply with the terms and conditions specified by the publication site.
GP sites vary with the niche, so one size does not fit all. To find the GP sites for your niche, use the following search terms:
Example: xyz + write to us + guest post
fashion + write for us + guest post
Technology + write for us + guest.