Another way to say "defecating is for producing faeces" is "The human body eliminates solid waste material in the form of faeces."