Write posts, notes, and other stuff, and they get sent to your followers.
But how is it different from writing notes in a client?
No different. ActivityPub lets you write notes in a client, then sends it to your followers. It uses an inbox and outbox to send and receive.
And why do I see some notes that have an “activity pub” kind of badge then?