How is primary and secondary succession the same?

How is primary and secondary succession the same?