Why do companies give free email service?

Many free providers use free email to advertise. They may add advertisements to the footers, or to your email screen.