Do inmates gets charged for killing another inmate?

When an inmate is in prison or jail and they kill another inmate does that add on to their sentencing?