Euphorbia pulcherrima (poinsettia) and Codiaeum variegatum (croton) are both grown primarily for their attractive foliage and decorative appearance, making them ornamental plants. They are not used as food, timber, or are not significant medicinal plants in the context of their primary cultivation purpose.