What did the collapse of the Soviet Union have to do with the Berlin Wall?

The collapse of the Soviet Union made it possible for the Berlin Wall to be knocked down so people could travel between East Germany and East Berlin easily.