What is this extra divider line on my Dock?

Recent apps

This is recently-opened applications, which is on by default in macOS Mojave. To disable, open System Preferences > Dock, and uncheck Show recent applications in Dock.

screenshot of System Preferences > Dock > Show recent applications in Dock (checkbox)