Primary succession is one of two types of biological and ecological succession of plant life, occurring in an environment in which new substrate devoid of vegetation and other organisms usually lacking soil, such as a lava flow or area left from retreated glacier, is deposited. In other words, it is the gradual growth of an ecosystem over a longer period.[1][2]
In contrast, secondary succession occurs on substrate that previously supported vegetation before an ecological disturbance from smaller things like floods, hurricanes, tornadoes, and fires which destroyed the plant life.[3]
Primary succession occurs in essentially lifeless areas or regions in which the soil is incapable of sustaining life as a result of such factors as lava flows, newly formed sand dunes, or rocks left from a retreating glacier. Hope this answers the question.