Devil Doom is the final boss of Shadow the Hedgehog, and reaching him requires unlocking The Last Way — the game's secret final stage.
Shadow the Hedgehog is built around branching paths, with each level offering hero and dark choices that lead to different routes and endings. To open The Last Way you need to have exhausted the branching story and seen the other endings, which means replaying levels and deliberately taking the routes you skipped.
Complete The Last Way and Devil Doom appears as the boss at the end of it. The stage itself is a gauntlet with no branching, so stock up on ring recovery and expect a straight run to the confrontation.