A new yttrium metal–organic framework has been synthesized and functionalized with a specific DNA sequence to perform the selective ratiometric luminescence sensing of IL-6 and oseltamivir that are important COVID-19 biomarker and potential drug. The gene discussed is IL6; the disease is COVID-19.