Why does a gas possess two principal specific heats?

A gas can be heated under two definite conditions. Hence it has two principal specific heats which are:
(i) Specific heat at constant volume.
(ii) Specific heat at constant pressure.