A new study says losing weight is good for your heart.

The researchers say losing weight improves blood pressure and lowers the risk of heart disease.

Researchers at Boston University and Harvard Medical School have discovered that reducing the amount of calories in the diet reduces the risk for heart disease, diabetes and stroke.

The study looked at data from more than 6,000 adults, including nearly 3,000 men and women, from Boston, New York and San Francisco.

The participants were divided into three groups based on their weight.

The men and the women who lost the most weight lost less than 1 percent of their body weight.

The women who gained the most gained about 4 percent of body weight while the men lost 3.6 percent.

They also had lower levels of total cholesterol and high blood pressure, which is linked to the risk that someone will have a heart attack or stroke.

More from NBCNews.com:New study shows eating fewer calories and less salt can help lower cholesterol and heart diseaseSource: NBC News | Written by Bonnie Watson Baker