Normally, the output from the signal generator should look like 50 ohms to ground at DC, which may not be appropriate for the circuit that you are driving. Hence the need for a "DC blocking" capacitor. 10 nF in a 50 ohm circuit gives a corner frequency of < 1 MHz, which will pass everything you need at RF.