A goal is a step in a workflow—that when achieved—jumps the subscriber from any step directly above it to the next step directly below the goal.

Here's how Drip does it: https://help.drip.com/hc/en-us/articles/115003730911-Goals