Generation of Microbubbles with Applications to Industry and Medicine