Datafiles do not contain all the committed transactions upto crash. During normal DML, the user is working in the db buffer (which makes transactions quick). Oracle guarantees that committed transactions will not be lost upon instance failure. This is achieved through redo logs.
Redologs and archived redo logs also contain info for media recovery in case of data corruption or loss of datafiles. This is the advantage of redo logs.
