What is religion according to Hindu scriptures

The scriptures

The Vedas are a huge treasure trove of knowledge. They provide answers to the most important questions of humanity:

Who am I?"
"Where am I from?"
"What happens after death?"
"What's the meaning of life?"

At the same time, they are filled with the millennia-old knowledge about astrology, mathematics, politics, medicine and architecture.

The Bhagavad-Gita is a poem from an ancient Indian heroic poem and about as old as the first writings of the Vedas. “Bhagavad Gita” means “Divine Chant”. The verses are a dialogue between the rebirth of the god Krishna as a teacher and his disciple Arjuna. In it Krishna explains how a person can live in harmony with himself and his environment, how he discovers his abilities and uses them most meaningfully and how he finds himself and God.
 
man-mana bhava mad bhakto
mad-yaji mam namaskuru
mam evaisyasi satyam te
pratijane priyo si me

Always think of Me, become My Devotee, worship Me and offer Me your obeisances. In this way you will surely come to Me. I promise you this because you are my dear friend.

Bhagavad-Gita, verse 18.65