ActivityPub is a social media protocol allowing federation. Which is an idea of linking two different social medias together. Think: liking and commenting on Facebook a post from Twitter. Of course neither Facebook nor Twitter are on the ActivityPub protocol. ActivityPub's social networks include things like: Mastodon, PixelFed and PeerTube.
More about ActivityPub you can find on WIKIPEDIA.