Discrete physical structures inside a cell nucleus that consist of proteins and DNA organized into genes.