The chemical reactions and pathways involving dibenzothiophene, a substance composed of two benzene rings linked by one sulfide bond and one carbon-carbon bond. Dibenzothiophene derivatives can be detected in diesel oil following hydrodesulfurization treatment to remove sulfur compounds that would otherwise generate sulfur oxides during combustion.