The right answer is both of them.
Take the example of fatty acids, it is an aliphatic chain carboxylic acid composed of 4 to 36 carbon molecules. The more carbons (and therefore the CC and CH bonds), the more the fatty acid will be rich in energy since it will give more ATP during its catabolism, and it will also be less and less soluble in water because the carbon chain is hydrphobic.