Algae are integral to aquatic ecosystems, serving as a primary food source for many marine organisms. They perform photosynthesis, converting inorganic matter into organic compounds, which plays a crucial role in maintaining the balance of aquatic environments.