To begin with, it is worth separating two things that are easily confused. Performance (that is, strength and aerobic capacity) is influenced more by exercise than by diet. Body composition, on the other hand, is influenced more by diet than by exercise. It does not have to be black and white – both can also be developed at the same time. This is good to understand, especially once you have set a goal and are planning a training and nutrition program around it.
Body composition analysis measures only volumes (l), masses (kg) and circumferences (cm). Mainly, however, measurements track masses – muscle and fat mass and of course total weight – and figures derived from them, such as body fat percentage (%). These can mainly be influenced through diet. Building muscle of course also takes plenty of strength training to create a growth stimulus, but the main requirement for increasing muscle mass is eating more than you burn – in other words, diet.
If your goal is to lose body fat, you should focus mostly on diet. The ratio of exercise to diet could be around 20/80%. Your main goal is to create an energy deficit through your diet, so that your body has to supplement the energy it gets from food with its fat stores, reducing fat mass. In other words, you eat less than you burn, and your body does the rest. Easy, at least in theory. Exercise therefore plays only a small part in losing fat. Exercise does increase energy use, but at the same time it increases hunger, so we end up eating more and the energy deficit does not necessarily grow. Of course, exercise also boosts your metabolism in general and protects muscle mass from wasting (strength training) while you lose weight. So exercise is useful, but exercise alone does not necessarily bring results. Diet alone, on the other hand, can bring big results in fat mass if needed.
Changing your body composition is very black and white. Either you lose weight (that is, fat mass) as described above, or you gain weight (that is, build muscle mass). You cannot do both at the same time.
So reducing fat mass requires eating less than you burn, and increasing muscle mass requires eating more than you burn. If you want to improve both, you need to cycle them and focus on one thing at a time. For example, you first eat more than you burn so that your total mass increases, do lots of strength training aimed at building muscle and hope that part of the weight gain is muscle. After the first period, your weight has gone up, and your fat mass has probably increased too, but so has your muscle mass. You then switch to an energy deficit to reduce fat mass while trying to hold on to the muscle you already have. In an energy deficit, or diet, the best possible result for muscle mass is that it stays the same. The end result is (hopefully) more muscle than at the start and the same amount of fat or even less. Controlled yo-yo dieting, in other words.
If, on the other hand, the goal is to improve performance, the ratio of exercise to diet can be reversed. The most important thing is to create a progressive training program in which intensity, volume and load increase and the stimuli vary. The role of diet is mainly to help you recover from training as well as possible, so that you can do the next session as fully recovered as possible. This assumes your weight does not need to change.

For example, a beginner can deadlift a maximum of 50 kg, which is the weight they can lift for one repetition. They then successfully follow a progressive training program for 3 months, eating as much as they burn. The end result is very likely that their strength has increased from 50 kg to 75 kg. However, this does not mean that their muscle mass has increased. So building strength does not require building muscle. Of course, a bigger muscle has greater potential to produce force. If, in this example, the aim had also been to build muscle, the beginner would have needed to focus not only on training but also on eating more energy than they burn, allowing both weight and muscle mass to increase.
So what is strength development if not muscle growth? As mentioned earlier, a bigger muscle does have the potential to produce more force, but the efficiency of the neuromuscular system matters more. To illustrate this without going down to cell level, it can roughly be described like this: a command sent from the brain travels along the nerves to the muscle cells, making them contract. If the movement you are trying to do has not been practiced much, the signals from the nerve cells to the muscles are weak and the contraction of the muscle cells is incomplete. Imagine your biceps has 100 muscle cells and you try to bend your elbow. As a beginner, you may only be able to activate ten of them, but as you add repetitions, sets and weight, training may allow 80 of the hundred cells to contract, so the muscle produces more force even though the muscle cells have not grown at all.
A situation that often comes up among our body composition clients is that the goal has been to build muscle. They have trained hard at the gym five times a week at high intensity for three months. Their weight has stayed the same over the period. The result is that their muscle mass has not increased at all, and nor has their fat mass changed much. We then puzzle over this together with the client: how can this be when their strength has increased a lot? The answer is that they have not eaten enough energy above what they burn for muscle mass to grow, nor less than they burn for fat mass to decrease.
So it is good to know how each attribute can be influenced. Otherwise you risk banging your head against a wall while your results stand still. For the same reasons, it is also good to track your progress to make sure that what you are doing is right and producing results. This is also why body composition measurements are done. If your specific goal is to change your body composition, in addition to body composition measurements it would be good to track progress by regularly measuring circumferences, taking mirror photos and keeping a record of your strength levels. The more measures of progress you keep track of, the better you can make sure that your training is right.
You can book your body composition analysis here.
You can read more about body composition analysis here.