Involved in the maturation of autophagosomes into autolysosomes during starvation-induced autotrophy (PubMed:20550938, PubMed:22451698, PubMed:24374177, PubMed:25124690). Specifically, involved in the clearance of apoptotic cells by promoting the delivery of engulfed apoptotic cells to the lysosome (PubMed:22451698). Partially localizes to the phagosome membrane of engulfed apoptotic cells. Expressed in pharyngeal and body wall muscles and intestine cells. Ubiquitously expressed during embryogenesis. Increased number and reduced size of P granules (pgl-3-positive and lgg-1-positive) and sqst-1-positive protein aggregates in embryos (PubMed:20550938). RNAi-mediated knockdown results in increased lgg-2-positive autophagosomes following fertilization and at later embryonic stages (PubMed:24374177). Belongs to the EPG5 family.