>>15564matrix is a federated IM (instant messaging) protocol, it's like IRC but with fancy modern features (file uploads, rooms, encryption, calls, etc..), and federated like email.
You can set up your own server and let it federate with other servers, or use some random public (or invite-only) server, just like you can use cock.li as your mail server, your self hosted mail server, or e.g. yandex.com (ew).
In theory, users of 1 server can talk to users on other servers, even in big chatrooms. In practice, there is a sort-of split between the gay matrix.org side full of trannies and child porn posters (which also contains soydevs, mostly itoddler javascript shitware jeets who love proprietary garbage) orbitting around servers like matrix.org, tchncs.de, literally any and all tuwunel/conduwuit/cintinuwuity/conduit/etc.. servers, etc..), and the chud crowd orbitting around servers like unredacted.org, midov.pl, xmr.se, and a bunch of random self hosted servers including but not limited to abuser.eu, freetard.net, plan9.rocks, gemtoo.men, glowers.club, etc..
Rooms can decide if they want to block specific servers, and a lot of morgie (slur for matrix.org users) rooms love to block all the good homeservers. This is also useful to get a list of fun servers, literally just examine the niggerlist of any morgie room, and chances are that half of them are good.
On the other hand, a few chud rooms also block matrix.org because we don't want to interact with morgie trannies.
matrix.org also loves to block users on chuddy homeservers from inviting morg users to dms or other rooms, because morgies need to stay protected in their little echo chamber.