The processional music universally known as "Here Comes the Bride" is the Bridal Chorus from Richard Wagner's opera Lohengrin (composed 1848, premiered 1850).
In the opera, the chorus is sung by women escorting Elsa to the bridal chamber after her marriage to Lohengrin. The irony? The marriage collapses almost immediately—Lohengrin's forbidden identity is revealed, and he departs. Wagner likely didn't envision it as a universal wedding staple.
Victoria, Princess Royal (eldest daughter of Queen Victoria) chose it for her 1858 wedding to Prince Frederick William of Prussia. Royal endorsement turned an operatic excerpt into a Western cultural institution.
Mendelssohn's Wedding March (from A Midsummer Night's Dream, 1842) is the traditional exit music—joyful, triumphant, and structurally distinct from Wagner's solemn processional.
Bottom line: Wagner = entrance (processional). Mendelssohn = exit (recessional). Both 19th-century German composers; both now inseparable from the ritual they never wrote for.