There are 3 degrees of translational freedom, 2 of rotational freedom, 1 degree of vibrational freedom. The vibrational freedom is not accessible at room temperature, at higher temperatures it is but let's stick with room temperature.
So that's 5 degrees of freedom per molecule. So if you have a lot of molecules (N number of molecules), there are 5N degrees of freedom. each contributes 1/2kT to internal energy (U), for a total of 5/2kt*N..
So U = 5/2kT*N
dU/dT = heat capacity = 5/2K*N = 5/2R (for 1 mole, k*N_avagadro = R)