what kind of relation do they have with animals?
The genus "Xylaria" colonize the nests of leafcutter ants and other fungus-growing ants.
Ascomycota
Several ascomycetes of the genus "Xylaria" colonize the nests of leafcutter ants and other fungus-growing ants of the tribe Attini, and the fungal gardens of termites (Isoptera). 
what is lycoperdon echinatum? A type of puffball mushroom. where is it found? Africa, Europe, Central America, and North America are there any species similar to it? L. echinatum you mentioned it was a type of mushroom, what was it again? Puffball mushroom is it edible? Young puffballs can be edible. are you able to classify this mushroom? Yes, the true truffles (Tuberales) are gasteroid Ascomycota. what is the last word you just mentioned? It is a phylum of the kingdom Fungi. are they beneficial to humans? Yes, ascus fungi have brought some important benefits to humanity. how do these mushrooms reproduce? It produces microscopic spores inside special, elongated cells or sacs.
wiki:11589757
Ascomycota [SEP] Symbiotic relationships with animals
Several ascomycetes of the genus "Xylaria" colonize the nests of leafcutter ants and other fungus-growing ants of the tribe Attini, and the fungal gardens of termites (Isoptera). Since they do not generate fruiting bodies until the insects have left the nests, it is suspected that, as confirmed in several cases of Basidiomycota species, they may be cultivated. Bark beetles (family Scolytidae) are important symbiotic partners of ascomycetes. The female beetles transport fungal spores to new hosts in characteristic tucks in their skin, the "mycetangia". The beetle tunnels into the wood and into large chambers in which they lay their eggs.