So far as I understand, most stars found in the galaxy are single or double stars. However, they are born in nebulae by the hundreds. What happens to spread them out such? I would think that gravity would keep them together in the way that they were formed, by the hundreds. Or am I misunderstanding how stars are born? Thanks in advance.