there are two types of endoplasmic reticulum, rough endoplasmic reticulum and smooth endoplasmic reticulum, the rough endoplasmic reticulum is the site of protein manufacture( because it has ribosomes) whereas the smooth endoplasmic reticulum manufactures fat molecules or lipids. these lipids helps in membrane biogenesis, which is the process of formation of plasma membrane. the main function of the endoplasmic reticulum is that it serves as channel for transportation of proteins etc between various cells or a cell organelle and another cell. In the liver, detoxification of poisons take place due to the help of smooth endoplasmic reticulum.
Sweating happens when your body gets too hot. Sweating is very effective because if your body didn’t have the ability to cool itself down you could get faint and disoriented from too much heat intake