The purpose of the UFA was to promote Germany during WW1. Due to a financial collapse in the film industry the UFA was about to head into financial ruin when a powerful financierĀ Alfred Hugenberg, a future Hitler supported, brought the place in 1927. He made to company indulge itself into films the promoted German nationalism.
When the Nazis came into power in 1933 films became promotions to the general public about the Nazis also known as Nazification. Without promoting Nazi Germany then the UFA wouldn’t have stayed in business and used tactical ways to continue to produce films during the war era.