$Q = mc\Delta T$ (1)
where
$Q = \mbox{heat}$
$m = \mbox{mass}$
$c = \mbox{specific heat}$
$\Delta T = \mbox{change in temperature}e$
$Q = c_vn\Delta T$ (2)
where
$Q = \mbox{heat}$
$n = \mbox{number of moles}$
$c_v = \mbox{specific molar heat at constant volume}$
$\Delta T = \mbox{change in temperature}e$
(1) is used to find the heat transfer for solids and liquids. (2) is used to find the heat transfer for gas molecules at constant volume(I am aware there is one for constant pressure). Can (2) be converted to (1) by looking up the molecules molar mass in the periodic table and converting the number of moles to grams? If that is possible, is the reason why we do not use $Q = mc\Delta T$ for gas is because the specific heat depends on the type of process?