a) The function of nephridia in earthworms is excretory. They are responsible for removing metabolic wastes, excess water, and other substances from the worm's body.
b) Earthworms typically have three types of nephridia based on their location:
Septal nephridia: These are located on both sides of the intersegmental septa, found in most segments of the earthworm's body. They primarily function in excretion and osmoregulation.
Integumentary nephridia: These are located in the body wall, near the body's surface. They assist in removing waste and maintaining the water balance of the earthworm.
Pharyngeal nephridia: These are located near the pharynx, the anterior part of the digestive system. They primarily function in removing waste and regulating the osmotic balance.