If you hadn't asked, I would have thought that a shallow-well pump is located in the basement. Since it's not in the basement, it will be a pump that goes down inside the well, near to the bottom.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.