Gods in Buddhism- Are There Gods, or Aren't There? (link)
It also is often asked if it is all right for a Buddhist to believe in God, meaning the creator God of monotheism. Again, this depends on what you mean by "God." As I believe most monotheists understand God, the answer is no. But there are lots of ways to understand God.
Buddhism is sometimes called an "atheistic" religion, although some of us prefer "non-theistic" -- meaning that believing in gods really isn't the point, even if there are some.
But it's certainly the case that there are all kinds of god-like creatures called devas populating the early scriptures of Buddhism. Vajrayana Buddhism makes use of tantric deities in its esoteric practices. There are Buddhists who believe devotion to Amitabha Buddha will bring them to rebirth in the Pure Land.
So, what's the deal with the gods?
What Do We Mean by Gods?
Let's start with poytheistic-type gods.
In the world's religions these have been understood
in many ways, Most commonly, they are supernatural beings with some
kind of agency -- they control the weather, or they might help you win
victories. The classic Roman and Greek gods and goddesses are examples.
In this case, the religion mostly consists of practices to cause these gods to intercede on one's behalf. If you deleted them all, there wouldn't be a religion.