PLANETS FORMED AS PART OF THE LIFE CYCLE OF STAR FORMATION