NOVELTY - The method of forming a nanostructure, comprises preparing (S1) a template, ionizing (S2) a surface of the template, forming an oxide layer enclosing the template on the ionized surface of the template, removing (S4) the template, and adding a pH controller to the first solution. The template has an organic polymer or an organic copolymer and polystyrene. The ionizing of the surface of the template includes substituting residues on the surface of the template with anion groups. The anion group comprises sulfuric acid group, hydroxyl group, carboxyl group and acetic acid group.    USE - The method is useful for forming a nanostructure, which is useful for forming a solar cell (claimed).    ADVANTAGE - The method is capable of economically and efficiently forming a nanostructure with high light efficiency and improved dimensions, easily controls the size of the oxide nanostructures, and effectively forms the oxide precursor on the surface of the template.    DETAILED DESCRIPTION - The method of forming a nanostructure, comprises preparing (S1) a template, ionizing (S2) a surface of the template, forming an oxide layer enclosing the template on the ionized surface of the template, removing (S4) the template, and adding a pH controller to the first solution. The template has an organic polymer or an organic copolymer and polystyrene. The ionizing of the surface of the template includes substituting residues on the surface of the template with anion groups. The anion group comprises sulfuric acid group, hydroxyl group, carboxyl group and acetic acid group. The preparing of the template and the ionizing of the surface of the template include forming a first solution by dissolving monomers and a cross-linker in a solvent, and adding a polymerization initiator to the first solution. The polymerization has a compound including a metallic cation and a nonmetallic anion. The forming of the oxide layer includes dissolving an oxide precursor in an organic solvent to form a second solution, and adding the first solution to the second solution. An INDEPENDENT CLAIM is included for a method of forming a solar cell.    DESCRIPTION OF DRAWING(S) - The figure shows a flowchart of a method for forming a nanostructure.    Preparing template (S1)    Ionizing surface of the template (S2)    Attaching oxide precursor on surface of the template (S3)    Removing the template. (S4)