Optical discs are still very popular for console gaming.
Console makers want it to be legacy because they can charge a higher price for a game when there is only one store in town compared to multiple stores when it comes to discs.
Both are digital, of course.
By the way, it annoys me that the word digital is used to mean “downloaded over a network”.