How do theaters get the films?

How do theaters get films for the movies?