How can diet and exercise help prevent heart disease?

How can diet and exercise help prevent heart disease?