Halftime and extra time extend the duration of a soccer game, with halftime typically lasting 15 minutes and extra time varying depending on the circumstances, such as overtime or penalty shootouts.