Planets and Their Atmospheres: Origin and Evolution