The foods you eat and the quantity in which they are consumed will play the larger role in weight management. However, exercise can help expend energy, build and maintain muscle mass, and encourage a healthier overall lifestyle. Both are important in maintaining a healthy weight throughout the life cycle.