Can someone tell me what this is ?

I bought my jeep used and this was already in the jeep hooked up. Not sure what it is or what it is used for. If anyone has any information on it I would greatly appreciate it