A charge is a bonus attack that is used before the normal attack. This makes charging units very strong attackers, but they are usually not so good defenders. I think they never suffer losses during a charge. The charge is not used when the units defends.
However, some defensive units like spearmen have perks like "Horseeater" which means an attacking unit can't use its charge against them.
________
DR500