What causes a whirlpool?

heyy whirlpool are made by when two currents are trapped in between rocks or when two currents meet.