Final answer:
Sweat glands, or sudoriferous glands, produce sweat to cool the body. Oil glands, or sebaceous glands, secrete sebum to lubricate and protect the skin.
Step-by-step explanation:
Sweat Glands: Sweat glands, also known as sudoriferous glands, are exocrine glands located in the dermis of the skin. They produce sweat, a salty fluid, which is then released to the surface of the skin through ducts. Sweat glands help regulate body temperature by cooling the body when it becomes warm.
Oil Glands: Oil glands, also known as sebaceous glands, secrete an oily substance called sebum. Sebum lubricates and protects the skin, preventing it from drying out. It also helps inhibit the growth of bacteria on the skin. Oil glands are located in the dermis and release sebum into the hair follicles.