Stupas were originally burial mounds; Buddhists developed them into shrines of plaster-covered stone, inside which are caskets containing relics of Buddha.
The Buddhists developed the Stupas into shrines to worship Buddha.