Exercise is linked to a reduced risk of seven types of cancer, and the more physical activity the better, according to a study published Thursday.

The study, in the Journal of Clinical Oncology, looked at whether meeting the recommended physical activity guidelines had an effect on cancer risk.

In general, healthy adults are encouraged to engage in 2.5 to 5 hours a week of moderate-intensity activity, such as brisk walking or gardening. Alternatively, up to 2.5 hours of vigorous activity — jogging, running, swimming laps, jumping rope or hiking — are recommended.

These "guidelines have largely been based on their impact on chronic diseases like cardiovascular disease and diabetes," Alpa Patel, senior scientific director of epidemiology research at the American Cancer Society, said in a statement.

"These data provide strong support that these recommended levels are important to cancer prevention, as well," she said. Read more at NBC News