The two main tasks of the gastrointestinal system are to digest food and then absorb it.
(The two main tasks of the gastrointestinal system; are; to digest food and then absorb it)
The two main tasks of the gastrointestinal system
are
to digest food and then absorb it