Exploring the Mechanism and Kineticsn of Nucleation Processes: From Crystallization to Cavitation