DATABLOCK TYPE and CDROM TYPE Creating a Virtual Machine

DATABLOCK TYPE and CDROM TYPE,Both types can create a template to create a virtual machine, but how can the two types of virtual machine to install the system?

Please explain in details as i do not understand your question correctly.