Short answer
Buddhism is usually classified as a religion. It is also often described as a philosophy and a way of life. Which label fits depends on how you define religion, and Buddhism does not fit one simple pattern.
Why Buddhism is usually called a religion
Buddhism has sacred texts, monastic communities called the sangha, rituals and festivals, places of worship such as temples and monasteries, and devotional practices. Many millions of people identify as Buddhists, and communities gather for teaching and ceremony. Most scholars and religious surveys group it with the world’s major religions.
Why some call it a philosophy
Buddhism puts heavy weight on understanding suffering, its causes, and the path that ends it. Much of the teaching works as a method of inquiry: observe experience, see how craving and aversion operate, and test what you learn. Many people who practice meditation without ritual describe their practice as philosophical or as a way of life.
Buddhism is not one system
The label covers many traditions. Theravada, common in Sri Lanka and parts of Southeast Asia, centers on the early Pali texts. Mahayana, common in East Asia, adds many sutras and the bodhisattva ideal. Vajrayana, found in Tibet and the Himalayas, uses tantric practices. Pure Land schools center on devotion to Amitabha Buddha.
Beliefs and practices differ among these traditions, so any single answer is only partial.
What the Buddha taught about gods
The teaching does not center on a creator god. Gods, called devas, appear in the texts as beings within the universe, and they are also impermanent and subject to rebirth. Pure Land practice, by contrast, makes a buddha the main object of devotion.
People often ask, “Does Theravada believe in God?” The texts answer by placing the path in the Buddha’s own insight into suffering, rather than in a creator, although the texts do include many deities.
Buddhism in Indonesia
Indonesia officially recognizes Buddhism as one of its state-recognized religions. Buddhism therefore appears alongside the other recognized faiths in religious life and in official records.
How to think about the question
Classifications vary. Some governments, surveys and scholars use “religion” for Buddhism, while others describe it as a philosophy with religious practice. A useful way to answer is that Buddhism is a religion with a strong philosophical core.
Readers who ask what type of religion is Buddhism considered, or what type of philosophy is Buddhism, usually find the same mix: a practice-based tradition whose teaching focuses on the mind and on ending suffering, and in most schools not on a creator.