These are the excretory organs in the cockroach. It is located at the junction of the midgut and hindgut.
The main function of the Malphigian Tubules is to excrete the nitrogenous waste out of the body (hemolymph) of the cockroach and convert it into uric acid.