Gloom is a rejected character from Inside Out, and was going to be the main antagonist of the film and was going to grow bigger as he becomes more important.
Early concepts of him can be seen in the Art of Inside Out book.
Early Gloom concept with an early version of Riley
Another piece of concpet of Gloom
How Gloom would grow throughout the film