A dense region within a nebula where gravitational collapse of gas and dust is actively forming new stars.