Bubble dynamics and its applications