(When your set-up is like the following diagram.)
Desktop --- Ethernet --- Laptop --- WiFi --- Router |
A desktop computer connected from its ethernet port to the laptops ethernet port using a cable and that laptop connected to a wireless router via WiFi.
In order of easiest to complicated.