XMPP is a federated protocol with many features. It is not a centralized service, like WhatsApp, so some features don't work like WhatsApp users are used to. Here we cover most basic things about messaging in a federated environment.
Learn more about XMPP
Here we cover all basics of decentralized messaging