Which is the metric standard for measuring energy?

Which unit is used for specific heat capacity?

If you wanted to compare the abilities of olive oil and peanut oil to gain or lose thermal energy, which unit would you use?