Extra time is added due to stoppage that can occur in soccer for the following reasons:
Restarts
Injuries
Fights
Pitch Invasions.
These breaks are traditionally called stoppages, and they result in extra time added. This stoppage time is added so that 90 minutes will actually have been played.