The two basic body shapes of cnidarians are medusa and polyp. A polyp is a cylindrical and sessile form (Hydra). In contrast, medusa is a free-living, umbrella-like structure (Jellyfish). Sometimes, polyps can asexually produce medusae. Also, medusae can form polyps sexually (Obelia).
Also see: Difference between Polyp and Medusa.