Beam profiling is the process of measuring the characteristics of a laser beam, while beam shaping is the process of manipulating the laser beam to achieve a desired shape or pattern.