This video series will cover all the basic science:
potholer54's Channel - YouTube
Of course the sun is very important to driving temps -- the record low in sunspots has meant we have not had as much solar heat, but the average temps have still been climbing. When the sunspot activity picks up, we should see even warmer temps on average.