why do you want to put a valve on your pump, just out of curiosity?
well when you hard line plumbing, sometimes you dont get the 90's or 45's just right and the union between the joints will allow to glue them and still turn them how you need to to get the correct angle of the dangle.