Minerals, such as sodium, potassium and calcium, that are needed in certain quantities and proportions within our cells for them, and our organs, to work properly. If a patient has prolonged vomiting or diarrhoea, electrolytes may be lost and need to be replaced.