What was the Purpose of D-day?

The purpose of D-Day was to drive off the German front and end the war. Germany was expecting an attack, however they were not expecting the allied forces to attack from the east.