Male and female cones are the reproductive structures of gymnosperms, such as pine trees, where male cones produce pollen, and female cones develop seeds after fertilization. These cones play a crucial role in the plant's reproductive cycle, ensuring the continuation of species without the need for flowers or fruit structures seen in angiosperms.