The Fediverse (commonly shortened to fedi) is a collection of social networking services that can communicate with each other (formally known as federation) using a common protocol, mainly ActivityPub. Users of different websites can send and receive status updates, multimedia files and other data across the network. The term Fediverse is a portmanteau of federation and universe.
Source: Wikipedia
In simple terms, fediverse works like email. Even with a gmail account, a user can still send emails to people who have yahoo or outlook accounts. You can have an account on any platform, for example, twitter and still be able to communicate with people on thread or mostodon.
In other words, it allows for cross-platform interaction basically allowing you have an account on one server and still interact with people on a different server without any one company controlling the whole network.