Continues integration can be a part of a Definition of Done and of the CI/CD pipeline during a sprint. Especially when different Scrum Teams working together a continues integration is essential to get a complete software product and to integrate all increments of the Scrum teams.
Usually continues integration is a practice of the agile method of Extreme Programming (XP).