Adsorption on single walled carbon nanotubes (SWCNTs) is a subject of growing experimental and theoretical interest. The possible adsorbed patterns of atoms and molecules on the single-walled carbon nanotubes vary with the diameters and chirality of the tubes due to the confinement. The curvature of the carbon nanotube surface enlarges the distance of the adsorbate atoms and thus enhances the stability of high coverage structures of adsorbate. There exist two novel high-coverage stable structures of potassium adsorbed on SWCNTs, which are not stable on graphite. The electronic properties of SWCNTs can be modified by adsorbate atoms and metal-semiconductor and semiconductor-semi-conductor transitions can be achieved by the doping of alkali atoms.