Answer:
While there is not a clear distinction between a stupa and a pagoda, a stupa tends to be a structure that usually can not be entered, while a pagoda is often referred to as a building that can be entered. It is easy to get confused because a pagoda is generally a temple, but the design of a pagoda evolved from stupa