Cockies remove status ailments that persist after battles. You will find monsters that will add status effects that can only be removed with a cookie.