Apicomplexa
Another similarity is that many apicomplexan cells contain a single plastid, called the apicoplast, surrounded by either 3 or four membranes. Its functions are thought to include tasks such as lipid and haem biosynthesis. It appears to be necessary for survival. The plastids are thought to have a common origin with the chloroplasts of dinoflagellates, and evidence points to an origin from red algae rather than green.