The present invention discloses novel antifungal compounds of formula (I), method for preparing these compounds and the use of these compounds as antifungal agents in prevention and treatment of fungal infections, and compositions containing these novel compounds.