Can a DVD burner replace a cd-rom/dvd-rom drive?



Buying an external dvd burner for my laptop, it’s on its way now.
While I’m waiting for it though, i found some problems with my dvd-rom drive. it won’t read dvds anymore (i guess its getting old) and even though it successfully burns data cds, it won’t read them back although they work on other computers. so i guess my dvd drive is dead - will i be able to use my dvd burner for all those functions instead?