Gluttony is one of the seven Homunculi created by Father, each embodying a deadly sin. He was formed by attaching a fragment of a Philosopher's Stone to a base body, granting him near-infinite regenerative capacity and a dimensionally linked stomach.
Contrary to some confusion, Envy is a separate Homunculus (the embodiment of Envy), not a "failed" version of a combined-sin entity. Each Homunculus is a distinct creation.