Transformation of the blastula or blastocyst into the gastrula; the development and invagination of the embryonic germ layers. In human embryos, gastrulation is the process by which the bilaminar embryonic disk is converted into a trilaminar embryonic disk.