Definition
A relay server forwards data between two devices that cannot connect to each other directly. Both devices connect out to the relay, which passes the traffic along. That is why you do not need to open ports on your router.
When a relay is used
Remote-desktop tools try a direct connection first, because it is faster. A relay is used when that fails: strict office firewalls, many mobile networks, shared Wi-Fi in hotels and cafés.
What a relay can see
With end-to-end encryption the relay forwards data it cannot read. In SystemDesk, sessions are encrypted between your two devices whether they connect directly or through a relay. See end-to-end encryption and the security page.