Template Preparation: A template with nano-sized pores or patterns is prepared. The choice of template depends on the desired shape and size of the nanostructures. Material Deposition: The material to be shaped into nanostructures is deposited onto or into the template. This can be done through techniques like electrochemical deposition, chemical vapor deposition (CVD), or physical vapor deposition (PVD). Template Removal: After deposition, the template is removed through chemical etching or physical methods, leaving behind the nanostructures.