In nanofabrication, lasers are commonly used for lithography processes, such as photolithography and electron beam lithography. These processes involve using a laser to pattern a substrate with nanometer-scale features. Additionally, laser ablation can remove materials with high precision, enabling the creation of complex nanostructures.