Scientists think that green algae are plants water-living ancestors, but we are not sure how the transition to land plants happened.
source https://www.lifetechnology.com/blogs/life-technology-news-blog/algae-living-inside-fungi-how-land-plants-first-evolved