Fungi are more closely related to animals than plants.
til
The opisthokonts (from Ancient Greek ὀπίσθιος (opísthios) 'rear, posterior' and κοντός (kontós) 'pole, i.e. flagellum') are a broad group of eukaryotes, including both the animal and fungus kingdoms. The opisthokonts, previously called the "Fungi/Metazoa group", are generally recognized as a clade. Opisthokonts together with Apusomonadida and Breviata comprise the larger clade Obazoa.