Epigenetics refers to the modifications of DNA by adding chemical tags, which switch genes on and off without altering the…