Title: Studies of star formation and planetary nebulae