In this work, we use a one-dimensional photonic crystal as a biosensor composed of alternating GaAs and air layers. Within the cavity where they are infiltrated, the Normal, Jurkat, HeLa, PC-12, MDA-MB-231, and MCF-7 cells are bounded by layers of nanocomposite and graphene to increase biosensor sensitivity. The transmission spectrum was calculated using the transfer matrix method. We observed that, when the structural periodicity is broken, defect modes that characterize each cell are created. These defect modes move at a wavelength as the dielectric constant increases. Additionally, the separation between defect modes and bandwidthdetermines sensitivity, Q factor, and FOM, in which average values of 406.84 nm/RIU,1765.53, and 535.44 were obtained, respectively, for normal light incidence. RegardingTransverse-Electric (TE) and Transverse-Magnetic (TM) polarization, the defectmodes shift toward shorter wavelengths as the angle of incidence increases. For TEpolarization, transmittance decreased and the distance between the modes increased.At a 50° angle, sensitivity, Q factor, and FOM increased up to 497.55 nm/RIU, 3182.02,and 1401.25, respectively. Conversely, at a 50° angle in TM polarization, sensitivityremained constant at a value of 407 nm/RIU, along with increased transmittanceand decreased performance. Finally, sensitivity and performance were optimized bymodifying the cavity thickness value at an incidence angle of 30° ° for TE polarization,for TM polarization. In both cases, the increased and at an incidence angle of 10