Brain tumors such as adult glioblastomas and pediatric high-grade gliomas or medulloblastomas are among the leading causes of cancer-related deaths, exhibiting poor prognoses with little improvement in outcomes in the past several decades. These tumors are heterogeneous and can be initiated from various neural cell types, contributing to therapy resistance. How such heterogeneity arises is linked to the tumor cell of origin and their genetic alterations. Brain tumorigenesis and progression recapitulate key features associated with normal neurogenesis; however, the underlying mechanisms are quite dysregulated as tumor cells grow and divide in an uncontrolled manner. Recent comprehensive genomic, transcriptomic, and epigenomic studies at single-cell resolution have shed new light onto diverse tumor-driving events, cellular heterogeneity, and cells of origin in different brain tumors. Primary and secondary glioblastomas develop through different genetic alterations and pathways, such as EGFR amplification and IDH1/2 or TP53 mutation, respectively. Mutations such as histone H3K27M impacting epigenetic modifications define a distinct group of pediatric high-grade gliomas such as diffuse intrinsic pontine glioma. The identification of distinct genetic, epigenomic profiles and cellular heterogeneity has led to new classifications of adult and pediatric brain tumor subtypes, affording insights into molecular and lineage-specific vulnerabilities for treatment stratification. This review discusses our current understanding of tumor cells of origin, heterogeneity, recurring genetic and epigenetic alterations, oncogenic drivers and signaling pathways for adult glioblastomas, pediatric high-grade gliomas, and medulloblastomas, the genetically heterogeneous groups of malignant brain tumors.