Do aquatic plants have roots?

The primary function of roots in aquatic plants is to provide anchorage and absorb water containing nutrients and minerals. Water containing absorbed nutrients is absorbed all over the plant surface.

They are also absorbed through the leaves right?

That is right. They have stomata on the leaves that makes them absorb more nutrients.