Exploring nebulae and solar systems