Counters change the property of landed attacks.
In King of Fighters XV, landing attacks is the main goal regardless of the situation of the fight. However, landing counters are always more beneficial because it increases the chances you'll do more damage. In general, every attack receives a damage boost when the counter tag prompts. Some moves make your foe vulnerable to follow-up attacks and juggles, so look out for the counter prompt.