What is the primary function of the immune system in the human body?

ད་ལྟོ་འགྱོ་དོ་ཡོདཔ།