Gas and dust in interstellar nebulae can form