What is the name of the part that can be placed on the battery to keep it charged when the car is not used much?

Battery Charger/ Maintainer. The automatic variety will constantly check the battery and keep it "topped off".

Solar Chargers are very green and pay for themselves over time. Some can be plugged into the cigarette lighter.