thunder07337
If the network of the Pi is not in your network, you need a connection between the two networks. This can also simply be a cable or a wireless connection via WLAN. And if this is not possible because, for example, the Pi is far away, then you need the Internet, otherwise you would have to lay a line to it, because WLAN does not reach very far.
Otherwise, I don't understand what exactly you want to achieve and you should write down exactly what you want to achieve.