and eventually caused the next major change in cell structure by engulfing bacteria , by means of endosymbiosis , and triggering a co-evolution which finally resulted in organisms such as mitochondria , hydrogenosomes and , in plants and algae , chloroplasts .