In the Network section, attach your VM to a Bridged Adapter (in older VirtualBox versions this is called Host Interface). This bridges your VM to the local network your host machine is connected to. If you have multiple network interface cards on the host, select which of them you want your VM to attach to. If unsure, experiment. You can always change this later.